You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by David Crossley <cr...@apache.org> on 2006/11/30 00:08:22 UTC
excluding docs using Cocoon conf/cli.xconf
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/**"/>