On 2011-02-16 19.39, Paul Merlin wrote:
So if my app is installed in /opt/myapp I could layout the data as:

/opt/myapp/var/data
/opt/myapp/var/tmp
/opt/myapp/var/cache
/opt/myapp/var/log

.. by setting an environment property INSTALL_ROOT = /opt/myapp
(how?) and then in the properties bundle:

data={environment.INSTALL_ROOT}/var/data
temporary={environment.INSTALL_ROOT}/var/tmp
cache={environment.INSTALL_ROOT}/var/cache
log={environment.INSTALL_ROOT}/var/log

Am I right ?

Yes!

Plus, I'm wondering about the support in other libraries/extensions like
entitystore-* and indexing-*. Will we add it for the 1.3 release ?

I would suggest so, yes. It's not a whole lot of code to change.

Ideally in my example above I would like to be able to add thoses:
/opt/myapp/var/store
/opt/myapp/var/index

The idea is that the extensions/libraries that use this will get the "data" library, and then create subdirectories based on the service names. So it would be more like /opt/myapp/var/data/store, if /data is the "data" directory.

/Rickard

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to