hallo, I have following target for cleaning up tmp files:
<target name="cleantmp" description="remove tmp files" if="clean.folder"> <echo message="delete *.bak *.class *~ in ${clean.folder} directory"/> <delete> <fileset dir="${clean.folder}" includes="**/*.bak"/> <fileset dir="${clean.folder}" includes="**/*.class"/> <fileset dir="${clean.folder}" includes="**/*~"/> </delete> </target> But files like TestClass.java~ would'n be deleted. Best Regards, Rafal -- To unsubscribe, e-mail: <mailto:ant-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:ant-user-help@;jakarta.apache.org>