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 javadocs?
Date Sun, 25 Aug 2002 04:58:42 GMT
Nevermind :) Found a dreadful hack that works:

<map:match pattern="**/javadocs/**">
    <map:read src="resources/null"/>
</map:match>

--Jeff

On Sun, Aug 25, 2002 at 02:45:02PM +1000, Jeff Turner wrote:
> Hi,
> 
> Is there any way to prevent Cocoon from traversing certain links, or at
> least not dying horribly when it hits an invalid one?
> 
> I'm trying to avoid having Cocoon traverse links like <link
> href="../javadocs/index.html">javadocs</link>. Cocoon dies, claiming it
> can't find xdocs/../javadocs/book.xml.
> 
> I'm looking for, eg, a null pipeline that won't result in a file being
> generated.
> 
> This would also be needed to implement Marc's siteplan targets:
> 
> <content>
>   <part name="xjavadoc" location="./build/xjavadoc" ref="/javadoc"/>
> </content>
> 
> Because even if ./build/javadoc exists, we don't want Cocoon to do
> anything about it.
> 
> thanks,
> 
> --Jeff

Mime
View raw message