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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to