commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabriele Garuglieri (JIRA)" <>
Subject [jira] Created: (CONFIGURATION-216) Inconsistent way to locate filename when creating configuration
Date Fri, 16 Jun 2006 05:41:29 GMT
Inconsistent way to locate filename when creating configuration

         Key: CONFIGURATION-216
     Project: Commons Configuration
        Type: Bug

 Environment: commons-configuration-1.3-dev
    Reporter: Gabriele Garuglieri
    Priority: Minor

There is a different behaviour locating the configuration file in classpath depending on the
way it is set in the configuration class.
For example assuming "conf/" exists in classpath:

PropertiesConfiguration pc = new PropertiesConfiguration("conf/");
gives org.apache.commons.configuration.ConfigurationException: Cannot locate configuration


PropertiesConfiguration pc = new PropertiesConfiguration();

properly locate file in classpath and loads it.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message