Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » P2 dev » Launching a dynamically selected profile
Launching a dynamically selected profile [message #512199] Thu, 04 February 2010 11:43
Roland Germ is currently offline Roland GermFriend
Messages: 9
Registered: January 2010
Junior Member
Hi

we have the following requirement (the same user/customer can select different environments) :

- Each user launches the same application.
- First, he performs the login and gets a list of those profiles he is authorized for.
- Then, he selects a profile and the application with the selected profile is started.
- During the startup of the profile an automatic update from a central artefact repository is performed.

I've found the Maynstall incubator project, which seems to solve exactly those requirements but it's going to be archived.

I've started playing around with p2. So, I've created multiple profiles based on different metadata repositories (so each user environment can have a different set of features and versions) and only one artifact repository. I've implemented a headless update mechnism as described ( http://wiki.eclipse.org/Equinox/p2/Adding_Self-Update_to_an_ RCP_Application). This works fine and fullfills exactly what I need. Now I can provide different client environments for our users.

But now I don't have any ideas how to switch my profile dynamically ? I've found out that the current profile is specified in the \configurtion\config.ini, but I don't believe that any change will be reflected in my running application. Is there an API to switch the current profile ?

Thanks a lot for any ideas.

Previous Topic:P2 Push Mechanism
Next Topic:Errors mirroring Eclipse-Updatesites
Goto Forum:
  


Current Time: Tue Jan 21 01:18:30 GMT 2025

Powered by FUDForum. Page generated in 0.02977 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top