Oliver Heger wrote:
[EMAIL PROTECTED] wrote:
Hi Oliver,
is there any particular reason why if, when "conf/conf1.properties" is
in classpath, doing PropertiesConfiguration pc = new
PropertiesConfiguration(
"conf/conf1.properties");
gives org.apache.commons.configuration.ConfigurationException: Cannot
locate configuration source conf1.properties
while doing PropertiesConfiguration pc = new PropertiesConfiguration();
pc.setFileName("conf/conf1.properties");
pc.load();
properly locate file in classpath and loads it?
Thanks, Gabriele
Hm, no. Both ways of loading the configuration file should behave the
same. Will have a look.
Oliver
Okay, I can now confirm that this is a bug. Would you please be so kind
to open a ticket in our bug tracking system (see [1])?
Thanks!
Oliver
[1] http://jakarta.apache.org/commons/configuration/issue-tracking.html
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]