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/07 11:40:17 UTC

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

Author: jleroux
Date: Tue Jan  7 10:40:17 2014
New Revision: 1556174

URL: http://svn.apache.org/r1556174
Log:
Fixes a long time pending minor issue when deleting downloaded jar files in Windows (were not deleted). Using deleteonexit did the trick, also added verbose to see which downloaded jar files are deleted
So I uncommented the clean-downloads sub-target in the clean-all target
Also adds a description to clean-ivy

Modified:
    ofbiz/trunk/build.xml

Modified: ofbiz/trunk/build.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/build.xml?rev=1556174&r1=1556173&r2=1556174&view=diff
==============================================================================
--- ofbiz/trunk/build.xml (original)
+++ ofbiz/trunk/build.xml Tue Jan  7 10:40:17 2014
@@ -89,15 +89,13 @@ under the License.
         <antcall target="clean-cache"/>
         <antcall target="clean-tempfiles"/>
         <antcall target="clean-search-indexes"/>
-        <!-- FIXME: clean-downloads introduces some issues: with cobertura (on Windows can't be deleted, not sure why),
-                    but especially with postgresql drivers -->
-        <!-- antcall target="clean-downloads"/ -->
+        <antcall target="clean-downloads"/>
         <antcall target="clean"/>
     </target>
 
     <target name="clean-downloads"
           description="Clean all downloaded files">
-        <delete>
+        <delete verbose="true" deleteonexit="true">
             <fileset dir="framework/base/lib" includes="cobertura-*.jar"/>
             <fileset dir="framework/base/lib" includes="sonar-*.jar"/>
             <fileset dir="framework/base/lib" includes="activemq-*.jar"/>
@@ -1144,7 +1142,7 @@ under the License.
     <!-- ================================================================== -->
     <!--    Ivy targets, more info at  http://ant.apache.org/ivy/  -->
     <!-- ================================================================== -->
-    <target name="clean-ivy">
+    <target name="clean-ivy" description="Clean Ivy local cache">
         <ivy:cleancache/>
     </target>