ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hi...@apache.org
Subject svn commit: r1095385 - /ant/site/ivy/build.xml
Date Wed, 20 Apr 2011 12:10:10 GMT
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" >



Mime
View raw message