Hello.
I need to use a properties file with my plugin. I would like
to use the Properties class to write in it like in this
example:
Properties p = new Properties();
String path ="Don't know where to store it";
p.load(new FileInputStream(path));
p.setProperty("test", "value");
p.store(new FileOutputStream(path,false),null);
String param = p.get("test"));
So my question is :
Using a plugin/bundle, where should I put my properties file
?
Should I place it in src/main/resources ?
Do I need to unzip it with with deployment-fragments.xml ?
What will be the path to access it from java code ?
Or have you got an other solution ?
Thank you!
Bil
---
Mailing list: [email protected]
Forum: http://forum.nuxeo.org/f/1/