forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <je...@apache.org>
Subject Re: Linking to javadoc output from a Forrest site
Date Tue, 08 Apr 2003 13:59:09 GMT
On Tue, Apr 08, 2003 at 03:07:27PM +0200, Bojan Mihelac wrote:
> Hi Vincent,
> 
> I'm having similiar problem and so far I didn't make any solution. However
> when i changed Forrest to build webapp, and added following line into
> sitemap.xmap :
> 
>              <map:match pattern="res/*.*">
>                 <map:read src="resources/res/{1}.{2}" />
>              </map:match>
> 
> then everything work good (i would add link lin xml file like <link
> href="res/example.zip">Download zip</link> or link to some html).
> When i try to hack that in to be builded website i always get an "Resource
> not exist" error.
> 
> Maybe someone else know the working solution for static sites.

In 0.4 and CVS, you should be able to have
src/documentation/content/example.zip, linked to with <link
href="example.zip">.  All non-xdocs content (example.zip) is copied
across in parallel to the Cocoon rendering of xdocs/*

--Jeff


> bye
> Bojan Mihelac

Mime
View raw message