OnJava8-Examples/Ant-Clean.xml
2015-12-16 13:50:01 -08:00

47 lines
1.5 KiB
XML

<project>
<description>
For this file to be included in all build.xml files
at all directory levels, the single entries with the
"**/" syntax must be used everywhere.
</description>
<target name="clean" description="delete all byproducts" >
<delete>
<fileset dir="${basedir}" casesensitive="yes">
<include name="**/*.class" />
<include name="**/*.txt" />
<include name="**/*.tmp" />
<include name="**/*.xml" />
<include name="**/*.out" />
<include name="**/*.err" />
<include name="**/*.dat" />
<include name="**/*.log" />
<include name="**/*.serialized" />
<include name="**/failures" />
<include name="**/test.gz" />
<include name="**/test.zip" />
<include name="**/X.file" />
<exclude name=".idea/"/>
<exclude name="*.iml"/>
<exclude name="**/*.java"/>
<exclude name="**/Copyright.txt" />
<exclude name="**/Face*.gif"/>
<exclude name="**/build.xml"/>
<exclude name="**/Ant-Common.xml" />
<exclude name="**/Ant-Clean.xml" />
<exclude name="**/run.bat" />
<exclude name="**/*.py" />
<exclude name="**/*.cpp" />
<exclude name="**/VendingMachineInput.txt" />
<exclude name="**/Trash.dat" />
<exclude name="**/Cheese.dat" />
<exclude name="**/log.prop"/>
<exclude name="**/runall.ps1" />
</fileset>
</delete>
<echo message="clean successful"/>
</target>
</project>