forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <cross...@apache.org>
Subject excluding docs using Cocoon conf/cli.xconf
Date Wed, 29 Nov 2006 23:08:22 GMT
Wow, i can't believe that we forgot about the ability to exclude
patterns of URIs from processing with the Cocoon CLI configuration.

Excluding the 07 and 06 docs from processing gives this speed-up:

Before ... 432 docs took 4:45
After .... 260 docs took 3:30

-David

---------------------------
> Author: crossley
> Date: Wed Nov 29 14:45:23 2006
> New Revision: 480752
> 
> URL: http://svn.apache.org/viewvc?view=rev&rev=480752
> Log:
> Use Cocoon's CLI crawler powers to exclude old docs from being built every time.
> 
> Modified:
>     forrest/trunk/site-author/conf/cli.xconf
> 
> Modified: forrest/trunk/site-author/conf/cli.xconf
> URL: http://svn.apache.org/viewvc/forrest/trunk/site-author/conf/cli.xconf?view=diff&rev=480752&r1=480751&r2=480752
> ==============================================================================
> --- forrest/trunk/site-author/conf/cli.xconf (original)
> +++ forrest/trunk/site-author/conf/cli.xconf Wed Nov 29 14:45:23 2006
> @@ -213,6 +213,12 @@
>     <exclude pattern="**apidocs**"/>
>     <exclude pattern="api/**"/>
>  
> +   <!-- Exclude the old docs to speed up the 'forrest site'.
> +     Warning: If change the layout of the site, then need to un-comment.
> +   -->
> +   <exclude pattern="docs_0_60/**"/>
> +   <exclude pattern="docs_0_70/**"/>

Mime
View raw message