Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] Is it possible to install a feature into an RCP app at build time?

You can use the p2 director as a final step in your build.

basebuilder/eclipse \
-application org.eclipse.equinox.p2.director \
-noSplash \
-repository \
http://download.eclipse.org/releases/juno \
-destination \
/path/to/rcp/build \
-bundlepool \
/path/to/rcp/build \
-installIUs \
org.eclipse.emf.sdk.feature.group

It can be called from your postBuild ant target as well, for example see http://git.eclipse.org/c/platform/eclipse.platform.releng.eclipsebuilder.git/tree/eclipse/buildConfigs/sdk.tests/testScripts/test.xml#n289

PW

--
Paul Webster
Hi floor.  Make me a sammich! - GIR

Back to the top