Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Find the Configuration directory
Find the Configuration directory [message #698104] Mon, 18 July 2011 19:11 Go to next message
Yigal Spinner is currently offline Yigal SpinnerFriend
Messages: 109
Registered: July 2009
Senior Member
I want to find the "configuration directory" (the location where config.ini reside in - usually it is the <eclipse install>/configuration). Platform.getConfigurationLocation gives the current plugin in the .metadata area. When eclipse is run with the option "-configuration" and the configuration changes, I would like the find it while the plugin starts.

What is the best command to do so?


[Updated on: Mon, 18 July 2011 19:56]

Report message to a moderator

Re: Find the Configuration directory [message #698400 is a reply to message #698104] Tue, 19 July 2011 12:29 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

There's a system property, osgi.configuration.area. If you go to Help>About>Installation Details>Configuration you can see the list of properties that are set in your running instance.

Also check out for a description of most properties.


Previous Topic:Intermittent ClassCastException in PolicyHandler
Next Topic:How to get an instance of the IWorkbenchPart?
Goto Forum:

Current Time: Mon Jun 25 00:53:25 GMT 2018

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

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

Back to the top