commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Bourg <ebo...@apache.org>
Subject Re: Commons Configuration Problem
Date Wed, 02 Mar 2005 22:25:29 GMT
The configuration descriptor is not mandatory, if you have a single 
configuration you can use directly:

Configuration conf = new XMLConfiguration("FooBar.xml");

Emmanuel Bourg


Charles Griswold wrote:

> Thank you for your reply.  I have since solved the problem.  Commons 
> Configuration wants to have an xml configuration file with the 
> <configuration>  tag.  Within this file I point to the real 
> configuration via:
> 
> <configuration>  <xml 
> fileName="C:/Root/PlanLogix/Website/Logos/FooBar.xml"/>
> </configuration>
> The FooBar.xml contains all my parameters.
> Seems wierd to me that this can't be all one file.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
> 
> 
> 

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