ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Härtel, Eric <E.Haer...@d-trust.net>
Subject RE: ressource and properties path
Date Fri, 14 Sep 2007 07:37:47 GMT
May be I didn´t ask a concrete question. How do I locate a properties file outside the classpath?

greetings 

> -----Original Message-----
> From: Härtel, Eric [mailto:E.Haertel@d-trust.net] 
> Sent: Wednesday, September 12, 2007 5:31 PM
> To: user-java@ibatis.apache.org
> Subject: ressource and properties path
> 
> Hello list,
> 
> I´m new to iBatis and got some problems with the properties 
> and resource location. 
> 
> In my standalone application have a config directory beside 
> the classpath, where all configuration (log4j, Ibatis a.s.o.) 
> should stay together. But the loading of the properties file 
> "<properties  resource="SqlMapConfig.properties" />" does not 
> work. In the example the files are stored in classpath 
> location, but I don´t want to do so.
> 
> With the "<sqlMap resource="config/SqlMap_Order.xml" />" I 
> got the same problem. 
> 
> regards, Eric

Mime
View raw message