|Launching a dynamically selected profile [message #512199]
||Thu, 04 February 2010 11:43
| Roland Germ
Registered: January 2010
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.
Powered by FUDForum
. Page generated in 0.02115 seconds