You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by ha...@apache.org on 2012/02/01 05:36:20 UTC

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

Author: hashutosh
Date: Wed Feb  1 04:36:19 2012
New Revision: 1238935

URL: http://svn.apache.org/viewvc?rev=1238935&view=rev
Log:
HIVE-2700: Add 'ivy-clean-cache' and 'very-clean' Ant targets (Carl Steinbach via Ashutosh Chauhan)

Modified:
    hive/trunk/build.xml

Modified: hive/trunk/build.xml
URL: http://svn.apache.org/viewvc/hive/trunk/build.xml?rev=1238935&r1=1238934&r2=1238935&view=diff
==============================================================================
--- hive/trunk/build.xml (original)
+++ hive/trunk/build.xml Wed Feb  1 04:36:19 2012
@@ -233,6 +233,10 @@
     </fail>
   </target>
 
+  <target name="ivy-clean-cache" depends="ivy-init-antlib"
+          description="Clean the Ivy cache">
+    <ivy:cleancache />
+  </target>
 
   <target name="init" depends="ivy-init-antlib,deploy-ant-tasks">
     <echo message="Project: ${ant.project.name}"/>
@@ -373,6 +377,9 @@
     </delete>
   </target>
 
+  <target name="very-clean" unless="offline" depends="ivy-clean-cache,clean"
+          description="Clean build artifacts and flush Ivy cache" />
+
   <!-- ====================================================== -->
   <!-- Generate some of the test data.                        -->
   <!-- ====================================================== -->