commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schaible <Joerg.Schai...@Elsag-Solutions.com>
Subject RE: [Configuration] includes in PropertiesConfiguration / classloader case
Date Wed, 11 May 2005 06:34:51 GMT
Hi Oliver,

Oliver Heger wrote on Wednesday, May 11, 2005 8:09 AM:

> This include machanism in properties files had already existed when I
> came to this project, so I don't know this code too well. Support for
> loading configuration files from the classpath was added
> later, so this
> might be the reason why there are problems.
> 
> However this whole include stuff was made a bit obsolete by
> ConfigurationFactory and the possibility of defining multiple
> configuration sources in a configuration definition file, which are
> collected and added to a CompositeConfiguration. Wouldn't this be an
> alternative for you? 

The general problem with the confiuguration factory is that it pulls in all the dependencies.
Without it you just have JDK and commons-logging and you still can use Properties and XML.
You just pay for what you need.

- Jörg

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


Mime
View raw message