felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dsav...@apache.org
Subject svn commit: r818758 - /felix/trunk/sigil/build.xml
Date Fri, 25 Sep 2009 07:43:00 GMT
Author: dsavage
Date: Fri Sep 25 07:43:00 2009
New Revision: 818758

URL: http://svn.apache.org/viewvc?rev=818758&view=rev
Log:
add clean-tmp target to clean up sigil artifacts from cache on "clean" builds

Modified:
    felix/trunk/sigil/build.xml

Modified: felix/trunk/sigil/build.xml
URL: http://svn.apache.org/viewvc/felix/trunk/sigil/build.xml?rev=818758&r1=818757&r2=818758&view=diff
==============================================================================
--- felix/trunk/sigil/build.xml (original)
+++ felix/trunk/sigil/build.xml Fri Sep 25 07:43:00 2009
@@ -36,7 +36,7 @@
 
   <target name="dist" depends="build, site" />
 
-  <target name="clean" depends="clean-list, clean-site" />
+  <target name="clean" depends="clean-list, clean-site, clean-tmp" />
 
   <target name="build" depends="init, build-list" />
 
@@ -78,4 +78,13 @@
   <target name="clean-site">
     <delete dir="${site.dir}" />
   </target>
+
+  <target name="clean-tmp">
+    <echo>${cache.dir}</echo>
+    <delete includeemptydirs="true">
+     <fileset dir="${cache.dir}" includes="all/org.apache-felix.sigil*"/>
+     <fileset dir="${cache.dir}" includes="all/org.apache/felix.sigil*"/>
+     <fileset dir="${cache.dir}" includes="all/resolved-org.apache-felix.sigil*"/>
+    </delete>
+  </target>
 </project>



Mime
View raw message