You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by "Robert D. Morse" <rm...@mdesignz.com> on 2002/01/07 00:48:55 UTC
Torque.properties file path absolute?
Environment: Torque nightly build/RH Linux 7.2
It appears that the <param-value> for the TorquePropertiesFile is absolute.
I would have thought (and preferred) that it was relative to the web.xml
file. Is this correct or am I missing something?
-------------------------------------------
Robert D. Morse
rmorse@mdesignz.com
PGP Key: D9C4AA6A
PGP Finger Print: ED56 DEEA 95CF AC99 C2B0 77D4 7D92 ACCA D9C4 AA6A
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: Torque.properties file path absolute?
Posted by "Robert D. Morse" <rm...@mdesignz.com>.
Yeah, I've tried /WEB-INF/conf/Torque.properties but it throws an exception
in Torque.init() saying that it can't find the file. Using the full path
fixes this. Thanks, though.
-robert.
-----Original Message-----
From: Scott Eade [mailto:seade@backstagetech.com.au]
Sent: Sunday, January 06, 2002 3:59 PM
To: Turbine Users List
Subject: Re: Torque.properties file path absolute?
My web.xml includes:
<init-param>
<param-name>properties</param-name>
<!-- This is relative to the docBase -->
<param-value>
/WEB-INF/conf/TurbineResources.properties
</param-value>
</init-param>
While not quite relative to web.xml it is relative.
HTH
Scott
----- Original Message -----
From: "Robert D. Morse" <rm...@mdesignz.com>
To: "Turbine Users List" <tu...@jakarta.apache.org>
Sent: Monday, January 07, 2002 10:48 AM
Subject: Torque.properties file path absolute?
> Environment: Torque nightly build/RH Linux 7.2
>
> It appears that the <param-value> for the TorquePropertiesFile is
absolute.
> I would have thought (and preferred) that it was relative to the web.xml
> file. Is this correct or am I missing something?
>
> -------------------------------------------
> Robert D. Morse
> rmorse@mdesignz.com
> PGP Key: D9C4AA6A
> PGP Finger Print: ED56 DEEA 95CF AC99 C2B0 77D4 7D92 ACCA D9C4 AA6A
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Torque.properties file path absolute?
Posted by Scott Eade <se...@backstagetech.com.au>.
My web.xml includes:
<init-param>
<param-name>properties</param-name>
<!-- This is relative to the docBase -->
<param-value>
/WEB-INF/conf/TurbineResources.properties
</param-value>
</init-param>
While not quite relative to web.xml it is relative.
HTH
Scott
----- Original Message -----
From: "Robert D. Morse" <rm...@mdesignz.com>
To: "Turbine Users List" <tu...@jakarta.apache.org>
Sent: Monday, January 07, 2002 10:48 AM
Subject: Torque.properties file path absolute?
> Environment: Torque nightly build/RH Linux 7.2
>
> It appears that the <param-value> for the TorquePropertiesFile is
absolute.
> I would have thought (and preferred) that it was relative to the web.xml
> file. Is this correct or am I missing something?
>
> -------------------------------------------
> Robert D. Morse
> rmorse@mdesignz.com
> PGP Key: D9C4AA6A
> PGP Finger Print: ED56 DEEA 95CF AC99 C2B0 77D4 7D92 ACCA D9C4 AA6A
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>