Eclipse: saving information in a .project file

I am trying to associate information with projects (some properties). I tried using the storage store ( getPersistentProperty() and setPersistentProperty() ).
The problem is that when I export the project and re-import it into another workspace, these properties disappear (since they are stored somewhere in the .metadata folder).

So, I thought that if there is a way to save the information in a .project file, then this will solve my problem, because this file is always included when projects are exported.

Is there an API for this?

Any pointers would be appreciated! Thanks!

Regards, Tamer

+7
eclipse eclipse-cdt eclipse-plugin eclipse-rcp
source share
1 answer

You may need to use the configuration area to save preferences in the workspace.
See project area settings .
Using the Store (as described in this thread ), you will also get some information about the nature of the configuration in this FAQ .

+4
source share

All Articles