Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Persisting Project specific data
Persisting Project specific data [message #290120] Thu, 18 August 2005 17:13
Eclipse UserFriend
Originally posted by: sean.stewthecat.com

Hello,
I have project specific data which various views and actions need to
access. I _believe_ I want it in the Project object (or similar) rather
than in a separate view/editor. Is there a best-practice or
tutorial/howto for this?

For example, I want to convert Word documents to text format for Lucene
indexing. I would like save the connection between the two documents, as
well as some meta data: author, title, date,... (Assume there is a valid
reason I want this info stored in the project, not in some Lucene
field). I am currently saving that information in a dom4j xml document
in the project directory.

I believe I am heading down the 'wrong' path at the moment for loading
and holding that data:
- I am trying to read it in the builder's fullBuild process.
- I am also trying to hold the model of the data in either a builder or
nature for the project.

What is the 'right' way for me to approach project specific data which
is not bound?

1) Use a project.open type hook to load the data?
2) Does it make sense to try to save the model in a nature/builder (or
extend Project...)?
3) Use full and incremental builders to sync changes
(I'm somewhat confident this is the 'right' approach,
but 1 & 2 above...)

Thanks,

Sean
Previous Topic:Where does eclipse store User Library Definitions
Next Topic:Java/Debug perspective
Goto Forum:
  


Current Time: Thu Apr 25 15:11:00 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