[Yanel-development] Re: [Dev] relative paths were not resolved
correctly in yanel
Michael Wechner
michael.wechner at wyona.com
Tue Nov 7 10:20:22 CET 2006
David Podunavac wrote:
>Michael Wechner schrieb:
>
>
>>David Podunavac wrote:
>>
>>
>>
>>>Hi Devs,
>>>
>>>Is it possible that yanel doesn't understand relative paths?
>>>When trying to confiugure yanel and inuse, relative paths were not
>>>resolved correctly, only
>>>absolute paths did.
>>>Or am I missing something?
>>>
>>>
>>can you explain a bit more? Or have you been able to resolve this
>>problem?
>>
>>Thanks
>>
>>Michi
>>
>>
>>
>>>regards David
>>>
>>>_______________________________________________
>>>Dev mailing list
>>>Dev at wyona.com
>>>http://wyona.com/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>>
>>
>>
>When adding inuse to yanel and we use relative paths in our configuration
>like having this dir structure
>
>--yanel
>\_inuse
>
>so both dirs as "siblings" and then e.g. in
>conf/local.yanel-rti-yarep.properties
>
>...,inuse,../../inuse/yanel/conf/yanel-rti-repository.xml
>
>instead of
>
>...,inuse,/home/USER/PATH_TO_INUSE/yanel/conf/yanel-rti-repository.xml
>
>the path could not be resolved and I got an error! It only worked for
>ABSOLUTE paths
>
>
relative paths are being resolved to where the file is being located. I
guess you are using Tomcat, so the paths are being resolved
relative to
TOMCAT/webapps/yanel/WEB-INF/classes/...
HTH
Michi
>regards david
>
>
>
>
>
>
>
--
Michael Wechner
Wyona - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
michael.wechner at wyona.com michi at apache.org
+41 44 272 91 61
More information about the Yanel-development
mailing list