commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Orjan Nygaard Austvold <austv...@colibria.com>
Subject commons configuration: user specified configuration file?
Date Tue, 28 Sep 2004 17:35:19 GMT
I've tried commons configuration, and I find to quite usable. Good work!

There is one thing I didn't manage to do (or understand how to do). As 
an example I'm building a test appliction in which there exist a default 
configuration loaded off the classpath.

How can I add a configuration file specified by the user, perhaps as an 
argument on the command line?

 From what I understand the ConfigurationFactory needs a URL to an XML 
file containing reference to which configuration files to load. Is this 
right?


Best regards,
Ørjan Austvold


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