forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thors...@apache.org
Subject svn commit: r568107 - /forrest/trunk/main/targets/site.xml
Date Tue, 21 Aug 2007 12:58:30 GMT
Author: thorsten
Date: Tue Aug 21 05:58:30 2007
New Revision: 568107

URL: http://svn.apache.org/viewvc?rev=568107&view=rev
Log:
Adding --followLinks argument to the cocoon cli call. This way one can set project.followLinks
to true or false. see http://cocoon.apache.org/2.1/userdocs/offline/cli.html. Test it with
"forrest -Dproject.followLinks=false". This will only generate the linkmap.html. One step
closer to generate only pages that have been modified

Modified:
    forrest/trunk/main/targets/site.xml

Modified: forrest/trunk/main/targets/site.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/main/targets/site.xml?rev=568107&r1=568106&r2=568107&view=diff
==============================================================================
--- forrest/trunk/main/targets/site.xml (original)
+++ forrest/trunk/main/targets/site.xml Tue Aug 21 05:58:30 2007
@@ -31,6 +31,7 @@
                        description="* Generates a static HTML website for this project">
     <sequential>
       <parallel>
+        <property name="project.followLinks" value="true"/>
         <java classname="org.apache.cocoon.Main"
           fork="true"
           dir="${forrest.core.webapp}"  
@@ -48,6 +49,7 @@
           <arg value="--brokenLinkFile=${project.brokenlinkfile}"/>
           <arg value="--workDir=${project.cocoon-work-dir}"/>
           <arg value="--uriFile=${project.urifile}"></arg>
+          <arg value="--followLinks=${project.followLinks}"></arg>
           <arg value="${project.start-uri}"/>
           <classpath>
             <path refid="forrest.cp"/>



Mime
View raw message