| delete | ![]() ![]() |
Delete either a single file, all files in a specified directory and its sub-directories, or a set of files specified by one or more nested fileset elements.
Domain: Valid filename
Default: -
Domain: Valid directoryname
Default: -
<define name="delete">
<element name="delete">
<ref name="dir_if_unless"/>
<choice>
<attribute name="file"/>
<attribute name="directory"/>
<ref name="fileset"/>
</choice>
</element>
</define>
<delete file="readme.txt"/>
<delete directory="tmp"/>
<delete>
<fileset dir="tmp" include="@(**/*.ge)"/>
</delete>
|
Copyright © 2002-2005, Sven Ehrke mailto:ericb@gobosoft.com http://www.gobosoft.com Last Updated: 7 July 2005 |
![]() ![]() ![]() ![]() |