[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [p2-dev] Any suggestions on this p2 provisioning case?
> - Can I have more than one RCP app installed into a profile?
No, a profile can only contain one eclipse based application
> - Can I have RCP apps in the same profile as Eclipse SDK?
> - Can I organize profiles in a hierarchy? (Have seen something about this earlier I think, but not sure it is in use).
This is an aborted concept. We put something in but never got the time to fully expand it.
All those NOs said, you can still achieve the sharing of artifacts. For this, I would recommend you to create a profile for each of the application and have only one profile registry (aka p2 data area) containing all these profiles. It is important to know that the p2 folder does *not* have to be located at the root of the eclipse folder and can be located anywhere.
As for the structuration of the metadata itself, make sure you have a top level IU for thing you want to install and the rest should be fine.
Henrik Lindberg ---21/10/2008 03:10:28 PM---Hi, I am trying to figure out how to best use p2 to provision the following:
Henrik Lindberg <henrik.lindberg@xxxxxxxxxxxxxx>
P2 developer discussions <p2-dev@xxxxxxxxxxx>
21/10/2008 03:10 PM
[p2-dev] Any suggestions on this p2 provisioning case?
I am trying to figure out how to best use p2 to provision the following:
- An Eclipse IDE.
- Two RCP apps that have about 50% in common with each-other, and uses
a handful of bundles also used in the Eclipse IDE.
- A run-time database executable (non Equinox/Eclipse based) that is
used by the two RCP apps.
I want the user to be able to install everything in one operation.
I want to have as much as possible shared (I don't mind duplication of
meta data, but I want artifacts (at least) to be shared).
I want to cater to my users and have IUs for the configurations:
1) developers = Eclipse + both RCP apps + runtime
2) super users = both RCP apps + runtime
3) users of A = RCP app A
4) users of B = RCP app B
I am prepared to write my own installer based on p2.
- Can I have more than one RCP app installed into a profile?
- Can I have RCP apps in the same profile as Eclipse SDK?
- Can I organize profiles in a hierarchy? (Have seen something about
this earlier I think, but not sure it is in use).
High level suggestions on how to best organize profile registries,
profiles and install locations for rational handling of the above are
p2-dev mailing list