commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Bourg <ebo...@apache.org>
Subject Re: [Configuration] includes in PropertiesConfiguration / classloader case
Date Wed, 11 May 2005 08:13:39 GMT
Oliver Heger wrote:

> Here is another idea for a solution for now: ConfigurationFactory is 
> able to locate files in the user's home directory. So if you include an 
> optional configuration file, say user.properties, different files can be 
> loaded depending on the logged in user. Don't know if this is suitable 
> for your scenario.

and if we interpolated the system properties in the configuration 
descriptor we could have a configuration file with the name of the 
current user with:

<properties fileName="${user.name}.properties"/>

Emmanuel Bourg

---------------------------------------------------------------------
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