Joe Hudson wrote:
> As for the properties file, I'm not using TomCat, I'm using JServ but this
> is how my file looks and it is configured correctly because ...it works (the
> WebMacro.properties file location is relative but the templates location is
> not relative for me... probably a messup on my part somewhere):
> # The location of WebMacro configuration file, relative to webapp root
> services.TurbineWebMacroService.properties=/WEB-INF/conf/WebMacro.properties
>
> # The path where WebMacro will look for templates, relative to webapp root
> # use your system's path separator to specify multiple paths
> services.TurbineWebMacroService.templates=/home/cbuy/WEB-INF/templates
> #services.TurbineWebMacroService.templates=/WEB-INF/templates - this doesn't
> work
If you are using JServ, getRealPath does not work. You should use absolute
paths for everything. This should have been stated in the coment... sorry.
I'm wondering how on earth the first thing worked. They use the same algorithm
for processing the path...
Rafal
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]