[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

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. 
Is there a parameter I can give to p2-director to point to the bundles.info file to update with the newly installed features?

Is the connection with the -profile parameter and the bundles.info updating process?

Thanks,
Dileepa

On Thu, Jan 31, 2013 at 12:31 PM, Dileepa Jayakody <dileepa@xxxxxxxx> wrote:
Hi All,

We use P2 director application to provision features into our eclipse based product at build time. As I understand during feature installation P2 Director, updates the Profile, and bundles.info file with the new set of bundles.
But the location where P2-Director updates the bundles.info is always {configuration.area}/org.eclipse.equinox.simpleconfigurator/bundles.info

With the requirement of supporting multiple-profiles in our products I structured the configuration directory to be like below and the bundles.info file is located in a different place than the standard location: {configuration.area}/org.eclipse.equinox.simpleconfigurator/bundles.info

configuration
|--ProfileA
|    |--config.ini
|    |--org.eclipse.equinox.simpleconfigurator/bundles.info
|--ProfileB
|    |--config.ini
|    |--org.eclipse.equinox.simpleconfigurator/bundles.info

Is it possible to explicitly specify the bundles.info file location OR the configuration directory location of the target product for P2 Director to update during feature installation? I couldn't find a suitable argument for this requirement in the p2 director documentation at [1].

Thanks,
Dileepa

[1] http://help.eclipse.org/indigo/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/p2_director.html



--
Dileepa Jayakody,
Software Engineer, WSO2 Inc.
Lean . Enterprise . Middleware

Mobile : +94777-857616