You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mt...@apache.org on 2009/09/24 09:19:57 UTC

svn commit: r818386 - /commons/sandbox/runtime/trunk/build.xml

Author: mturk
Date: Thu Sep 24 07:19:56 2009
New Revision: 818386

URL: http://svn.apache.org/viewvc?rev=818386&view=rev
Log:
Fail is Ant < 1.6.3 is used (Required by condition->else)

Modified:
    commons/sandbox/runtime/trunk/build.xml

Modified: commons/sandbox/runtime/trunk/build.xml
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/build.xml?rev=818386&r1=818385&r2=818386&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/build.xml (original)
+++ commons/sandbox/runtime/trunk/build.xml Thu Sep 24 07:19:56 2009
@@ -91,6 +91,15 @@
         <echo message="os.name    = ${os.name}"/>
         <echo message="os.arch    = ${os.arch}"/>
         <echo message="os.version = ${os.version}"/>
+        <antversion property="ant.version"/>
+        <fail message="Unsupported (${ant.version}) Ant version.
+ Minimum required version is 1.6.3">
+            <condition>
+                <not>
+                    <antversion atleast="1.6.3"/>
+                </not>
+            </condition>
+        </fail>
     </target>
 
     <target name="prepare" depends="env">