I am looking for options to provide several members of a large team with a pre-configured STS workspace which includes: user preferences, a number of pre-configured tcServer instances, and projects (most are Maven projects but I may still have to support some Eclipse projects). Each version of the end project (multiple m2e projects per version) requires a new workspace.
For this I am looking at extending the "org.eclipse.ant.core.antTasks" extension point provided by the "org.eclipse.ant.core" plugin to add in new Ant Tasks to perform the following tasks:
- import m2e projects,
- import user preferences,
- and create tcServer instances.
The new Ant Tasks would be callable from a build file used by the Equinox Launcher.
"%JAVA_HOME%/bin/java.exe" %JVM_ARGS% -cp "%LAUNCHERJAR%" org.eclipse.equinox.launcher.Main -noupdate -application org.eclipse.ant.core.antRunner -data "%WORKSPACE_DIR%" -buildfile build.xml
- Has anyone else used a similar approach to creating STS workspace?
- If not is there another approach that would be easier to implement?
All ideas are welcome.