Implement the ant clean task.
authorShaun McDonald <shaun@shaunmcdonald.me.uk>
Wed, 3 Oct 2012 10:48:12 +0000 (11:48 +0100)
committerShaun McDonald <shaun@shaunmcdonald.me.uk>
Wed, 3 Oct 2012 10:48:12 +0000 (11:48 +0100)
build.xml

index 65f49ea..b3293e0 100644 (file)
--- a/build.xml
+++ b/build.xml
 
   <target name="clean"
     description="clean up" >
-    <!-- Delete the ${build} and ${dist} directory trees -->
-    <!--
-
-    FIXME what is supposed to be cleaned?
-
-    <delete dir="${build}"/>
-    <delete dir="${dist}"/>
-
-    -->
+    <delete dir="${basedir}/resources/generated"/>
+    <delete dir="${basedir}/resources/locales"/>
+    <delete>
+      <fileset dir="${basedir}/resources" includes="potlatch2.swf*"/>
+    </delete>
   </target>