cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Pietschmann" <dev.sen...@gmail.com>
Subject [SOLVED] How to resolve relative "external" sources?
Date Sun, 15 Jan 2006 09:32:49 GMT
Thank you for your kind replies.

I think I found one more way, that does it for me.
I simply get the tomcat path by 

System.getProperty("catalina.home")

and then attach "/webapps" to that!
 
Stefan

| -----Urspr√ľngliche Nachricht-----
| Von: Ross Gardler [mailto:rgardler@apache.org]
| Gesendet: Samstag, 14. Januar 2006 20:18
| An: dev@cocoon.apache.org
| Betreff: Re: How to resolve relative "external" sources?
| 
| Geert Josten wrote:
| > You could use input-modules to convert a relative path to an absolute
| > one. It should be possible with the realpath input module for instance.
| >
| 
| The locationmap in Forrest is an input module that can be used to do
| this, and much more.
| 
| Docs at http://forrest.apache.org/docs_0_80/locationmap.html
| 
| Code at
| http://svn.apache.org/repos/asf/forrest/trunk/main/java/org/apache/forrest
| /locationmap/
| 
| Ross


Mime
View raw message