From DPFWiki

Jump to: navigation, search

There are two ways of building the plugin. The first is used in development and is the internal eclipse building. Just right-click the "correct" plugin.xml and run it. This will build the plugin and launch a new eclipse environment with it loaded.

The second way is how the CI system does the build. It uses the PDE/Build process documented at and in the book "Eclipse plug-ins" chapter 19. Our config files is located in the project no.hib.dpf.pdebuild.

The build-dpf.xml file contains all the customizations, the is a unmodified copy of the template given by PDE/Build. The target "checkoutSources" checks out all the subprojects from subversion and the feature project (no.hib.dpf.feature) which links them together. It then starts the PDE build process and outputs the results into the build-folder.

The process is driven by ant, but it must be the antRunner in eclipse as it needs access to EMF. The command for running it manually is:

java -jar /home/dagvl/eclipse/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar -application org.eclipse.ant.core.antRunner -buildfile build-dpf.xml

Please substitute the path to the equinox launcher to the correct one for your system. The given eclipse installation must have the needed EMF libraries installed, using the modelling edition of eclipse should satisfy all dependencies.

Personal tools