RE: Cayenne files and WEB application classpath

From: Marc Gabriel-Willem (mg..ide.lu)
Date: Thu Feb 26 2009 - 11:45:16 EST


Re,

Thanks to the WebApplicationContextFilter and the FileConfiguration, I
found a nice solution to my problem.

Thank you very much

Marc

-----Original Message-----
From: Marc Gabriel-Willem
Sent: Thursday, February 26, 2009 4:54 PM
To: use..ayenne.apache.org
Subject: Cayenne files and WEB application classpath

Hello,

 

I've the following question regarding the configuration of the following
cayenne files:

 

C:\temp\dir1\cayenne.xml

C:\temp\dir2\map\xxx.driver.xml

 

Using the web.xml file, I would like to specify more than one path. For
example:

- one for C:\temp\dir1

- a second for C:\temp\dir2\map

 

<context-param>
    <param-name>cayenne.configuration.path</param-name>
    <param-value>path1</param-value>
</context-param>

 

I'm using the Cayenne version 2.

 

Thank you for your help!

 

Marc



This archive was generated by hypermail 2.0.0 : Thu Feb 26 2009 - 11:45:30 EST