commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From T E Schmitz <>
Subject [Configuration] load config files from ddifferent jars
Date Mon, 09 Aug 2004 16:06:35 GMT

I would like to set up a configuration factory specifying a properties 
file which does not reside in the same jar as the composite 
configuration .xml file.


     <properties fileName=""/>
     <properties fileName="/biz/"/>
     <hierarchicalDom4j fileName="objects/business-objects.xml"/>

It appears that the leading slash is stripped and an attempt is made to 
read biz/ from the .jar file where above .xml config 

I notice there is a setBasePath() which would probably solve the problem 
if all composite config files resides below the same basepath. But in my 
case the various config files reside in different jar files.

Is there a way of loading the various config files from different .jar 



Tarlika Elisabeth Schmitz

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message