Oliver Heger <[EMAIL PROTECTED]> scritti il 15/06/2006 19.01.08
> 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
>
Ok done.
Ref: http://issues.apache.org/jira/browse/CONFIGURATION-216
(i couldn't find the 1.3-dev listed in the versions against which open the
bug)
Thanks, Gabriele
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]