Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Creating file at Common location in plugin(Creating file at Common location in plugin)
Creating file at Common location in plugin [message #805943] Fri, 24 February 2012 10:23 Go to next message
jogendra chouhan is currently offline jogendra chouhanFriend
Messages: 31
Registered: January 2012
Member
hi,

I am developing a plugin in which i need to save some common data in a xml file which can be stored at some common location in eclipse. I have seen some plugin saves their common file in eclipse_workspace\.metadata\.plugins
Does anybody knows how to do that in eclipse or some other way/location where i can save my common data.
Re: Creating file at Common location in plugin [message #805982 is a reply to message #805943] Fri, 24 February 2012 11:25 Go to previous messageGo to next message
Martin Skorsky is currently offline Martin SkorskyFriend
Messages: 112
Registered: July 2009
Senior Member
Use the IPreferenceStore (http://help.eclipse.org/indigo/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/jface/preference/IPreferenceStore.html) and related API.

See also http://www.vogella.de/articles/EclipsePreferences/article.html.
Re: Creating file at Common location in plugin [message #807894 is a reply to message #805982] Mon, 27 February 2012 05:59 Go to previous messageGo to next message
jogendra chouhan is currently offline jogendra chouhanFriend
Messages: 31
Registered: January 2012
Member
Thanks for the reply Martin !

I just want to know whether this is the correct location(eclipse_workspace\.metadata\.plugins) to store some common file which can be used by my plugin or there is some other location also which i can use as a common location for storing my xml file.
Re: Creating file at Common location in plugin [message #807899 is a reply to message #805982] Mon, 27 February 2012 06:11 Go to previous message
jogendra chouhan is currently offline jogendra chouhanFriend
Messages: 31
Registered: January 2012
Member
hi,

I am developing a plugin in which i need to save some common data in a xml file which can be stored at some common location in eclipse. I have seen some plugin saves their common file in eclipse_workspace\.metadata\.plugins
Does anybody knows how to do that in eclipse or some other way/location where i can save my common data.
Previous Topic:Strange error on Mac build
Next Topic:Why org.eclipse.equinox.simpleconfigurator/bundles.info can not be updated based on the plugins
Goto Forum:
  


Current Time: Thu Apr 18 19:14:12 GMT 2024

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

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

Back to the top