You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pig.apache.org by da...@apache.org on 2012/02/08 02:01:04 UTC
svn commit: r1241725 - in /pig/trunk: CHANGES.txt build.xml
Author: daijy
Date: Wed Feb 8 01:01:04 2012
New Revision: 1241725
URL: http://svn.apache.org/viewvc?rev=1241725&view=rev
Log:
PIG-2518: Add ability to clean ivy cache in build.xml
Modified:
pig/trunk/CHANGES.txt
pig/trunk/build.xml
Modified: pig/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/pig/trunk/CHANGES.txt?rev=1241725&r1=1241724&r2=1241725&view=diff
==============================================================================
--- pig/trunk/CHANGES.txt (original)
+++ pig/trunk/CHANGES.txt Wed Feb 8 01:01:04 2012
@@ -24,6 +24,8 @@ INCOMPATIBLE CHANGES
IMPROVEMENTS
+PIG-2518: Add ability to clean ivy cache in build.xml (daijy)
+
PIG-2503: Make @MonitoredUDF inherited (dvryaboy)
PIG-2488: Move Python unit tests to e2e tests (alangates via daijy)
Modified: pig/trunk/build.xml
URL: http://svn.apache.org/viewvc/pig/trunk/build.xml?rev=1241725&r1=1241724&r2=1241725&view=diff
==============================================================================
--- pig/trunk/build.xml (original)
+++ pig/trunk/build.xml Wed Feb 8 01:01:04 2012
@@ -347,6 +347,9 @@
<ant dir="${test.e2e.dir}" target="clean"/>
</target>
+ <target name="very-clean" unless="offline" depends="ivy-clean-cache,clean"
+ description="Clean build artifacts and flush Ivy cache" />
+
<!--target name="eclipse-files" depends="compile, ivy-buildJar"
description="Generate files for Eclipse">
<pathconvert property="eclipse.project">
@@ -1576,6 +1579,11 @@
<ivy:cachepath pathid="jdiff.classpath" conf="jdiff"/>
</target>
+ <target name="ivy-clean-cache" depends="ivy-init-antlib"
+ description="Clean the Ivy cache">
+ <ivy:cleancache />
+ </target>
+
<target name="assert-pig-jar-exists" depends="ivy-init">
<fail>
<condition >