You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by cw...@apache.org on 2013/05/10 21:47:17 UTC

svn commit: r1481161 - /hive/trunk/build.xml

Author: cws
Date: Fri May 10 19:47:10 2013
New Revision: 1481161

URL: http://svn.apache.org/r1481161
Log:
HIVE-4530. Enforce minmum ant version required in build script (Arup Malakar via cws)

Modified:
    hive/trunk/build.xml

Modified: hive/trunk/build.xml
URL: http://svn.apache.org/viewvc/hive/trunk/build.xml?rev=1481161&r1=1481160&r2=1481161&view=diff
==============================================================================
--- hive/trunk/build.xml (original)
+++ hive/trunk/build.xml Fri May 10 19:47:10 2013
@@ -59,6 +59,14 @@
   <property name="rat.build.dir" location="${build.dir.hive}/rat"/>
   <property name="md5sum.format" value="{0}  {1}"/>
 
+  <!-- Check minimum ant version required -->
+  <fail message="Please use ant version 1.8.0 or greater for building hive.">
+    <condition>
+      <not>
+        <antversion atleast="1.8.0"/>
+      </not>
+    </condition>
+  </fail>
 
   <condition property="is-offline" value="true" else="false">
     <isset property="offline"/>