|Re: [p2-dev] Loading different P2 Profiles during runtime|
From reading your note, I have the impression that you have your own notion of profile that is different than the one from p2.
As I said, the notion of profile used in p2 does not represent something to install, but the installed state.
In your case, what I think you want to do is identify the set of features that constitute a profile and group them into one feature that you can easily identify for installation (and to present it to the user ?). Then when the user select such a feature, you uninstall any previously installed feature and install this feature in the runtime, and then you install the âtarget productâ.
From: p2-dev-bounces@xxxxxxxxxxx [mailto:p2-dev-bounces@xxxxxxxxxxx] On Behalf Of Dileepa Jayakody
Sent: January-17-13 3:29 PM
Subject: Re: [p2-dev] Loading different P2 Profiles during runtime
Hi Pascal et al,
Sorry if I was unclear in my previous mail.
Our requirement is to dynamically select the P2-Profile to load the target product.
In different Profiles we have different sets of features installed and in runtime we need to give the user with an option of selecting the Profile to load the application.
I think this is somewhat similar to reverting a profile to a earlier state? What we need is to switch between profiles during runtime and load different target products.
I hope I made our intentions clear this time :)
I found this  in Eclipse BugZilla which I think is somewhat inline with what we are trying to achieve.
Appreciate any pointers on this.
p2-dev mailing list