You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2014/01/17 12:56:42 UTC

svn commit: r1559083 - /ofbiz/trunk/build.xml

Author: jleroux
Date: Fri Jan 17 11:56:42 2014
New Revision: 1559083

URL: http://svn.apache.org/r1559083
Log:
Adds a clean-uploads ant target, chains it with clean-all

Modified:
    ofbiz/trunk/build.xml

Modified: ofbiz/trunk/build.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/build.xml?rev=1559083&r1=1559082&r2=1559083&view=diff
==============================================================================
--- ofbiz/trunk/build.xml (original)
+++ ofbiz/trunk/build.xml Fri Jan 17 11:56:42 2014
@@ -90,6 +90,7 @@ under the License.
         <antcall target="clean-tempfiles"/>
         <antcall target="clean-search-indexes"/>
         <antcall target="clean-downloads"/>
+        <antcall target="clean-uploads"/>        
         <antcall target="clean"/>
     </target>
 
@@ -159,12 +160,19 @@ under the License.
     </target>
 
     <target name="clean-search-indexes"
-            description="Remove search indexes (e.g. Lucene indexes) created under runtime/indexes">
+        description="Remove search indexes (e.g. Lucene indexes) created under runtime/indexes">
         <delete includeemptydirs="true">
             <fileset dir="./runtime/indexes" includes="**/*" erroronmissingdir="false" />
         </delete>
     </target>
-
+    
+    <target name="clean-uploads"
+        description="Remove uploaded files">
+        <delete includeemptydirs="true">
+            <fileset dir="./runtime/uploads" includes="**/*" erroronmissingdir="false" />
+        </delete>
+    </target>
+    
     <target name="tests" depends="ofbiz-init">
         <iterate target="tests" filelist="test-builds"/>
     </target>