Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Change configuration location dynamically? Best practice?
Change configuration location dynamically? Best practice? [message #330285] Thu, 24 July 2008 13:50
Eclipse UserFriend
Originally posted by: a.heikhaus.cenit.de

I have the following problem: I have to change the configuration location dynamically on startup.

Therefore I can not use the way of editing the ini-file and setting osgi.configuration.area. More precisely: Configuration-area-informations will be provided by the windows registry and can be different for each startup of my rcp-app on the same machine. Now I´m asking by myself: Where is the best point to integrate? Is it a common way to call somewhere

Location confLocation = Platform.getConfigurationLocation();
confLocation.setURL(value, lock);

Where to do it best? Is there still a possible way or is the location already set in each case?

And how to prevent my launch configuration (when runnning my rcp within my IDE) to set no configuration-location? (@noDefault or @none has no effects)
Previous Topic:Couldn't uninstall a plugin using P2
Next Topic:Genymede error while using emacs scheme
Goto Forum:
  


Current Time: Fri Aug 16 13:28:57 GMT 2024

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

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

Back to the top