[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] How to specify the location of bundles.info to update during a feature installation using P2 Director

On Fri, Feb 8, 2013 at 5:31 AM, Dileepa Jayakody <dileepa@xxxxxxxx> wrote:
Hi All,

Can someone give some help on this please?
IÂ would like to know how P2-Director finds the bundles.info file to update during a feature installation.Â

The bundles.info is in the simpleconfigurator config data location, and I don't see how the director can update it unless it is updating its own install. If anything, it would be tied to the -destination argument, not the -profile one.

I don't believe you can have multiple profiles within one configuration area, as you need one configuration area to completely launch one eclipse application.

You could, however, create a shared bundle pool and multiple contained target areas:


$ECLIPSE372 -application org.eclipse.equinox.p2.director \
-noSplash -bundlepool /opt/local/eclipse/dirExp/eclipse \
-shared /opt/local/eclipse/dirExp/eclipse/p2 \
-destination /opt/local/eclipse/dirExp/eclipse/win32_win32_x86 \
-profile SDKProfile_win32_win32_x86 \
-profileProperties org.eclipse.update.install.features=true \
-p2.os win32 -p2.ws win32 -p2.arch x86 -roaming \
-repository file:///opt/local/eclipse/dirExp/eclipseRepo \
-installIUs org.eclipse.sdk.ide $ECLIPSE372 -application org.eclipse.equinox.p2.director \
-noSplash -bundlepool /opt/local/eclipse/dirExp/eclipse \
-shared /opt/local/eclipse/dirExp/eclipse/p2 -destination \
/opt/local/eclipse/dirExp/eclipse/linux_gtk_x86_64 \
-profile SDKProfile_linux_gtk_x86_64 \
-profileProperties org.eclipse.update.install.features=true \
-p2.os linux -p2.ws gtk -p2.arch x86_64 -roaming \
-repository file:///opt/local/eclipse/dirExp/eclipseRepo \
-installIUs org.eclipse.sdk.ide


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