Hi Pradeep and All,
To give a brief introduction on this; the purpose of this implementation is
to be able to pre-provision several products in to one distribution and
select the product to load at startup.
Each product can be considered a separate Product profile and at startup by
passing an argument like -Dprofile={Product.Profile} we should be able to
load the required product.
After doing some background research on Equinox configurations I did a POC
by manually constructing the product distribution structure to support this
(as shown below), and point the equinox.configuration directory to relevant
{Profile}configuration directory at startup. This will load the set of
bundles relevant to the given Product.Profile.
*Things to do;*
Need to look at on how to support feature installations separately to the
loaded Profile. Currently after loading a particular profile and installing
features the newly added bundle entries are not persisted.
I'm currently working on changing the carbon-p2-plugin goals to construct
the modified product distribution structure.
Will update the thread on the progress.
*
Modified Product structure to support multiple-profiles*
*repository/components/configuration *{equinox configuration directory}
|
|--WSO2CarbonProfile
| |--config.ini
| |--org.eclipse.equinox.simpleconfigurator/bundles.info {bundle set to
load Carbon product}
|--WSO2ASProfile
| |--config.ini
| |--org.eclipse.equinox.simpleconfigurator/bundles.info {bundle set to
load AS product}
*repository/components/p2 *{p2 data directory}
|--org.eclipse.equinox.p2.engine
| |--profileRegistry
| |---WSO2CarbonProfile.profile {p2 state of Carbon}
| |---WSO2ASProfile.profile {p2 state of AS}
Thanks,
Dileepa
On Thu, Jan 31, 2013 at 8:38 AM, Pradeep Fernando <[email protected]> wrote:
> Hi,
>
> Dileepa working on the $subject.
>
> @Dileepa : can you please provide a brief update :)
>
>
> thanks,
> --Pradeep
>
>
>
--
Dileepa Jayakody,
Software Engineer, WSO2 Inc.
Lean . Enterprise . Middleware
Mobile : +94777-857616
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev