Where does EasyConf look for the configuration files?
Every property or xml file looked for by EasyConf is searched in several places
to allow the maximum flexibility. The order in which this places are checked is:
- URL: checks if the specified file name is a valid URL and if it is tries to get it.
- File system: if it is an absolute path (starts with a slash) it is interpreted from the
root of the file system. Otherwise the directory where the JVM is being executed will
be used as the base directory.
- User home directory: the home directory obtained with the user.home system property
will be used as the base directory
- Context classpath
- System claspath
This behaviour is implemented by Jakarta's commons configuration. You can check the locate method of the
class for more information.