[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
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?

No

> - 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.

HTH,

PaScaL
Inactive hide details for Henrik Lindberg ---21/10/2008 03:10:28 PM---Hi, I am trying to figure out how to best use p2 to proviHenrik Lindberg ---21/10/2008 03:10:28 PM---Hi, I am trying to figure out how to best use p2 to provision the following:


From:

Henrik Lindberg <henrik.lindberg@xxxxxxxxxxxxxx>

To:

P2 developer discussions <p2-dev@xxxxxxxxxxx>

Date:

21/10/2008 03:10 PM

Subject:

[p2-dev] Any suggestions on this p2 provisioning case?




Hi,
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.

Some questions:
- 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  
much appreciated.

Henrik Lindberg
henrik.lindberg@xxxxxxxxxxxxxx

_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev


GIF image

GIF image