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:10:10 UTC

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

Author: hibou
Date: Wed Apr 20 12:10:10 2011
New Revision: 1095385

URL: http://svn.apache.org/viewvc?rev=1095385&view=rev
Log:
Fail early if the property is missing

Modified:
    ant/site/ivy/build.xml

Modified: ant/site/ivy/build.xml
URL: http://svn.apache.org/viewvc/ant/site/ivy/build.xml?rev=1095385&r1=1095384&r2=1095385&view=diff
==============================================================================
--- ant/site/ivy/build.xml (original)
+++ ant/site/ivy/build.xml Wed Apr 20 12:10:10 2011
@@ -78,6 +78,7 @@
     </target>
 
     <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" />
         <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" >