As a NB dev beginner please give me advice what is a best solution for storing customized project properties.

Background:
I'm developing a NB application which uses project approach. Each project should have it's own properties (eg. database connectivity information). I've implemented in a few modules the ProjectCustomizer.CompositeCategoryProvider as a frontend (gui) for the preferences. I've defined ActionListener which captures OK button for each module.

Question:
What is a best solution to store/read these settings for each project (the settings should be stored somewhere in the project directory). Does NB provide such helper methods or should I stick with standard .preferences FileObject and handle it manually for each module ?

Did you try NBPreference yet? Have a look at address-removed ([email]address-removed[/email])>

First of all the link(?) was removed in the post. I was looking at the NbPreferences before but I thought that the NbPreferences as in (http://bits.netbeans.org/dev/javadoc/org-openide-util/index.html?org/openide/util/NbPreferences.html) are system (all users) or user specific. The configuration will be placed in the ~/.netbeans directory not in the project directory. If I am wrong could someone give me a little hint how to use NbPreferences on the project level ?

As a NB dev beginner please give me advice what is a best solution for storing customized project properties.

Background:
I'm developing a NB application which uses project approach. Each project should have it's own properties (eg. database connectivity information). I've implemented in a few modules the ProjectCustomizer.CompositeCategoryProvider as a frontend (gui) for the preferences. I've defined ActionListener which captures OK button for each module.

Question:
What is a best solution to store/read these settings for each project (the settings should be stored somewhere in the project directory). Does NB provide such helper methods or should I stick with standard .preferences FileObject and handle it manually for each module ?

Question:
What is a best solution to store/read these settings for each project (the settings should be stored somewhere in the project directory). Does NB provide such helper methods or should I stick with standard .preferences FileObject and handle it manually for each module ?

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum