[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?

Thanks Paul, that worked like a charm.

Since Tycho had already zipped up my deliverable product, I had to add an ant zip task to re zip the product after I modified it using your ant task below.  

It was no big deal, but I thought I should mention it for the next guy that reads this someday.

Thanks again!

On Tue, May 15, 2012 at 12:19 PM, Paul Webster <pwebster@xxxxxxxxxxxxxxxxxxx> wrote:
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 \

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


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

p2-dev mailing list

Trace Windham