cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J.Pietschmann" <j3322...@yahoo.de>
Subject Re: Cocoon Forrest Site Issue
Date Tue, 20 May 2003 18:05:28 GMT
Vadim Gritsenko wrote:
> As some people noticed... we have small issue with the site generated by 
> forrest. Example of it is:
> 
>  "To download the latest release @released.version@ of Apache Cocoon" [1]
>  "Version @version@ (@date@)" [2]
> 
> The problem is that when ant task is called to generate forrest docs, 
> cocoon's filter tokens are not used. I see two ways of solving it:
> 
> 1. Copy xdocs with filtering into build/ and then call forrest
> 2. Propagate tokens into forrest somehow (ant wizardry)

Hmhm. The correct way would be not to use Ant's copy/filter
mechanism but to use appropriate tags and pull the values from
an XML file during styling. Not exactly a small change, mind you.
(Note: Ant's filtering is not aware of XML encodings)

J.Pietschmann


Mime
View raw message