cfg4j / cfg4j

Modern configuration library for distributed apps written in Java.

Home Page:http://cfg4j.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow to specify root directory for FilesConfigurationSource

remmeier opened this issue · comments

commented

Currently either home or the environment is used. There should be the possiblity to specify a root directory. The environment is then applied relative to that specified root.

Without such a mechanism problems arise with mixed configuration source (like classpath + file based) since environment cannot be a file system path, just a relative directory.

Right, that's now damn problematic. Why home only?