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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

jleroux@apache.org
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>