commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Mansion <ja...@mansionfamily.plus.com>
Subject Re: problems with configuration
Date Sun, 05 Aug 2007 07:54:30 GMT
Oliver Heger wrote:
> Try builder.getConfiguration().configurationAt(...) instead of 
> builder.configurationAt().
>
> Only the getConfiguration() method causes the configuration sources to 
> be loaded. The object returned here contains all the properties.
>
Surely getConfiguration returns a Configuration, which doesn't have a 
configurationAt() member?

I had to cast to HierachicalConfiguration first.  Now I get 'Property 
verbose cannot be set!' which does at least suggest that the bean
is being constructed.  I'll debug to find out why.

Thanks!


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message