OnJava8-Examples/Ant-Clean.xml

44 lines
1.4 KiB
XML
Raw Normal View History

<project>
2015-05-14 10:56:11 -07:00
<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="**/*.dat" />
2015-05-15 22:36:55 -07:00
<include name="**/*.log" />
2015-05-14 10:56:11 -07:00
<include name="**/failures" />
<include name="**/test.gz" />
<include name="**/test.zip" />
<include name="**/X.file" />
2015-05-14 10:56:11 -07:00
<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" />
2015-05-14 10:56:11 -07:00
<exclude name="**/VendingMachineInput.txt" />
<exclude name="**/Trash.dat" />
<exclude name="**/DDTrash.dat" />
<exclude name="**/VTrash.dat" />
<exclude name="**/log.prop"/>
<exclude name="**/runall.ps1" />
</fileset>
</delete>
<echo message="clean successful"/>
</target>
</project>