You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by hi...@apache.org on 2011/04/20 14:34:36 UTC

svn commit: r1095391 - /ant/site/ivy/build.xml

Author: hibou
Date: Wed Apr 20 12:34:35 2011
New Revision: 1095391

URL: http://svn.apache.org/viewvc?rev=1095391&view=rev
Log:
Enable incremental build of history pages

Modified:
    ant/site/ivy/build.xml

Modified: ant/site/ivy/build.xml
URL: http://svn.apache.org/viewvc/ant/site/ivy/build.xml?rev=1095391&r1=1095390&r2=1095391&view=diff
==============================================================================
--- ant/site/ivy/build.xml (original)
+++ ant/site/ivy/build.xml Wed Apr 20 12:34:35 2011
@@ -79,6 +79,10 @@
 
     <target name="generate-history" description="Generate the part of the website of a specific history version">
         <fail unless="history.version" message="missing property history.version" />
+
+        <!-- by default we use incremental mode, which checks if files require generation -->
+        <property name="checkUpToDate" value="true" />
+
         <init-external-history version="${history.version}" />
         <fail unless="history.version" message="Set the history.version property to specified which history version you want to update" />
         <copy todir="${target.dir}/history/${history.version}" overwrite="true" >
@@ -93,7 +97,7 @@
             </fileset>
         </copy>
         <!-- xooki:generate requires sun java 6 jdk (with jrunscript) in path and Apache Ant 1.7 -->
-        <xooki:generate destDir="${target.dir}/history/${history.version}" checkUpToDate="false" xookidir="${site.root.dir}/xooki">
+        <xooki:generate destDir="${target.dir}/history/${history.version}" checkUpToDate="${checkUpToDate}" xookidir="${site.root.dir}/xooki">
             <fileset dir="${sources.dir}/history/${history.version}">
                 <include name="**/*.html"/>
                 <exclude name="**/template.html"/>