[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!
TW
 

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 \
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

_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev




--
Trace Windham