The solution is to specify the location of the webmacro.properties file
either inside TurbineResources.properties or in the same place that
TurbineResources is specified. There was a mention of how this can be done
sometime recently on this list.
We should work to make this happen as it solves more than one problem.
John McNally
----- Original Message -----
From: Jason van Zyl <[EMAIL PROTECTED]>
To: Turbine <[EMAIL PROTECTED]>
Sent: Thursday, July 13, 2000 4:28 PM
Subject: WebMacro and WAR files
> I'm just playing around with the TDK with Dave, and I have
> some questions I'd like to throw out.
>
> 1) Is the WEB-INF/classes directory supposed to be dynamically
> added to the classpath? I know that's where servlets can be found,
> but I noticed that putting the WebMacro.properties file in the
> WEB-INF/classes doesn't work unless you alter tomcat.sh to
> add the WEBAPP/WEB-INF/classes to the classpath.
>
> If the WEB-INF/classes directory isn't dynamically added then
> you can't make a WebMacro WAR file that works right off the
> hop. I've added a little bit to the TDK tomcat.sh to walk
> through all the webapps and add the classes/ to the classpath,
> but this won't work when a WAR file is installed initially
> because the classpath is created before the WAR file is
> expanded.
>
> I'm hoping this isn't the case. If it is the case then classpath
> dependency will have to be avoided in order to make a
> WebMacro WAR file that will work in all servlet containers.
>
> jvz.
>
> --
>
> Jason van Zyl
> [EMAIL PROTECTED]
>
>
>
> ------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?: [EMAIL PROTECTED]
>
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]