[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
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]