Default Ant Rule for cleanup
authorMarkus Bröker <mbroeker@largo.homelinux.org>
Sun, 10 May 2009 16:03:48 +0200
changeset 6 ad18534e08fd
parent 5 42da09368d71
child 7 93fe1f21e0d8
Default Ant Rule for cleanup Erase all temporarly files in the project folder
build.xml
--- a/build.xml
+++ b/build.xml
@@ -20,7 +20,8 @@
 		<echo
 			message="deleting all class- and jar-files  in ${package.dir} tree" />
 		<delete>
-			<fileset dir="${package.dir}" includes="**/*.class" />			
+			<fileset dir="${package.dir}" includes="**/*.class" />
+			<fileset dir="." includes="**/*.*~" defaultexcludes="no" />
 		</delete>
 
 		<delete file="${jar.file}" />
@@ -64,7 +65,7 @@
 	<target name="jar" depends="compile">
 		<property environment="env" />
 		<jar destfile="${jar.file}" basedir="${basedir}"
-			includes="org/ images/" 
+			includes="org/ images/"
 			manifest="schach.manifest" />
 	</target>