Sunday, June 1, 2014

Eclipse RCP application based on e4

Finally I got the build process clean and running to produce a headless eclipse based RCP application, including e4 support. Maven and Tycho is the key to a successful build and packaging process. A clear setup of plugins, features, product and a master pom within a build project makes the whole process clean and simple.

Beside the standard approach to sync and add all dependencies, make sure you have the org.eclipse.equinox.simpleconfigurator dependency added to your product definition file!

The maven tycho generates a full standalone product for all platform (win, linux, osx).

Check out the example provided by yafra.org on github.com https://github.com/yafraorg/yafra/tree/master/org.yafra.rcpbuild
The pom.xml file on rcpbuild shows all other related components used for this example.