How to build plugins headless
To build you need a customTargets.xml and build.properties files you can compy templates from
You edit the properties to point at the right locations more on this later...
You point to your build directory from your build.properties The expected directory structure is:
build_dir/ (where the build will take place, copy you plugins and features here) plugins/ (All your plugins you want to build) features/ (All your features you want to build)
java -cp <ECLIPSE_HOME>/plugins/org.eclipse.equinox.launcher_<version>.jar org.eclipse.core.launcher.Main -application org.eclipse.ant.core.antRunner \ -buildfile <ECLIPSE_HOME>/plugins/org.eclipse.pde.build_<version>/scripts/build.xml -Dbuilder=<path to where you put your build.properties and customTarget>
You can check out the eclipse help here http://help.eclipse.org/ganymede/nav/4_2