[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform] Re: No workspace metadata persistence

There are a couple of things that you can do. If you have metadata that you are looking to store, check out:

org.eclipse.core.runtime.Platform#getConfigurationLocation

This is an area that you can store files in. There is no spec'd format but it is recommended that you put your files in a directory which is the name of your bundle.

If you have preferences that you want to store/access, Check out:

org.eclipse.core.runtime.preferences.ConfigurationScope
org.eclipse.core.runtime.preferences.IPreferencesService

There are preference docs here if you want help with using the pref service for searching:

http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-core-home/documents/user_settings/index.html


Marcus Kestler wrote:
We have had a lot of request from customers regarding metadata that is
persisted outside of the workspace.  Basically they want global
configuration settings that are not workspace dependent.  Currently
Eclipse does not provide a facility for persistence outside of the
workspace.  Obviously this is something that a plug-in could provide, but
I think it belongs in the framework.

I am posting this to get opinions on the subject and see if anyone else
has had similar requests, or have developed custom solutions.
Depending on the outcome, we will try to drive a feature request off of
this.


Thanks,

Marcus Kestler

SlickEdit Inc.