On Thu, 2008-02-21 at 07:50 +, [EMAIL PROTECTED] wrote:
The following setup does not work - I was a bit disappointed.
If I load the configuration definition file off the classpath
as follows
ConfigurationFactory factory = new ConfigurationFactory();
URL configURL = new
I am using commons configuration ver. 1.2.
I would like ot define a composite configuration in which
one or more items are classpath resources as in:
configuration
properties fileName=usergui.properties/
xml fileName=classpath:/gui.xml/
/configuration
Is this somehow possible?
[EMAIL PROTECTED] schrieb:
I am using commons configuration ver. 1.2.
I would like ot define a composite configuration in which
one or more items are classpath resources as in:
configuration
properties fileName=usergui.properties/
xml fileName=classpath:/gui.xml/
Guten Tag!
Thanks for the prompt response. I am using ver 1.5 - I mistakenly thought
I was using ver 1.2.
Are you saying that if I load the following config defn file
configuration
properties fileName=usergui.properties/
xml fileName=gui.xml/
/configuration
and if gui.xml
The following setup does not work - I was a bit disappointed.
If I load the configuration definition file off the classpath
as follows
ConfigurationFactory factory = new ConfigurationFactory();
URL configURL = new File(config.xml).toURL();