Balazs Zsoldos created FELIX-5381:

             Summary: [configadmin] Make it possible to specify 
relative to working dir and user home
                 Key: FELIX-5381
             Project: Felix
          Issue Type: Wish
    Affects Versions: configadmin-1.8.10
            Reporter: Balazs Zsoldos

At the moment, can be either an absolute path or a path relative 
to the bundle data directory.

We use Configuration Admin in the way that the configuration directory is 
relative to user.dir. The advantage of this solution is that

 - we know where the configuration is (without searching through the bundle 
cache directory) and we can read them offline or compare the configuration with 
other working copy
 - we do not loose the configuration if we re-install configuration admin bundle
 - we can copy the whole environment and the configurations will be copied, too

Therefore I propose the system property (or similar). 
The new system property could have three values:

 - _bundle.data_ (default)
 - _user.dir_: the given path is relative to the working directory
 - _user.home_: the given path is relative to the user home directory (in 
production, we can overcopy the environment without loosing the configuration)

This message was sent by Atlassian JIRA

Reply via email to