How to build plugins headless

From Bioclipse
Jump to: navigation, search
Development tutorial
Responsible author:Goglepox
Bioclipse version:N/A
"N/A" is not a number.
Last updated:2009-10-10
Tags:


To build you need a customTargets.xml and build.properties files you can compy templates from

<ECLIPSE_HOME>/plugins/org.eclipse.pde.build_<version>/templates/headless-build/

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)


And run

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