forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ross Gardler <rgard...@apache.org>
Subject Re: {realpath:/} and plugins
Date Wed, 24 Nov 2004 19:43:41 GMT
Ross Gardler wrote:
> Thorsten Scherler wrote:
> 
>> I want to use the {realpath:/} variable for the fbits plugin but the
>> result is not what I expected.
>>
>> I use in the sitemap:
>> <map:parameter name="contentDir" value="{realpath:/}"/>
>>
>> Which then returns (where our main sitemap.xmap exist):
>> /home/thorsten/apache/forrest-trunk/main/webapp
>>
>> But it should return (where the plugin sitemap exist)
>> /home/thorsten/apache/forrest-trunk/plugins/org.apache.forrest.plugin.fbits 
>>
>>
>> How can I get the last path returned? Any ideas?
> 
> 
> {forrest:plugins}/PLUGIN_NAME

Sorry, for clarity I will explain a little further. The above will return:

/home/thorsten/apache/forrest-trunk/build/plugins/org.apache.forrest.plugin.fbits 


which is where the plugin is executing from.

Ross

Mime
View raw message