|
| Re: Is there a "normal" p2 IU for a product in a repository [message #698878 is a reply to message #692826] |
Wed, 20 July 2011 08:17  |
Paul Webster Messages: 6813 Registered: July 2009 Location: Ottawa |
Senior Member |
|
|
If you are doing a product build, PDE build will create a IU in your repo with the product ID as spec'ed in your .product file. That's the ID that can be used to instantiate a product with the director. Ex, our .product file:
<product name="Eclipse SDK" id="org.eclipse.sdk.ide" application="org.eclipse.ui.ide.workbench" version="4.1.0.I20110719-2201" useFeatures="true" includeLaunchers="true">
....
</product>
When I build my product, I can do:
$INSTALLER_HOME/eclipse \
-application org.eclipse.equinox.p2.director \
-noSplash \
-repository \
$BUILD_DIR/repository \
-installIU org.eclipse.sdk.ide \
-destination $BUILD_DIR/eclipse \
-bundlepool $BUILD_DIR/eclipse \
-profile SDKProfile \
-profileProperties org.eclipse.update.install.features=true \
-p2.os linux \
-p2.ws gtk \
-p2.arch x86_64 \
-roaming
To make sure your IU is there, you can use:
$INSTALLER_HOME/eclipse \
-application org.eclipse.equinox.p2.director \
-noSplash \
-repository \
$BUILD_DIR/repository \
-list
Later,
PW
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
|
|
|
Powered by
FUDForum. Page generated in 0.01434 seconds