next up previous contents index
Next: Deltree Up: Delete Previous: Parameters   Contents   Index

Examples

  <delete file="/lib/ant.jar"/>
deletes the file /lib/ant.jar.
  <delete dir="lib"/>
deletes the lib directory, including all files and subdirectories of lib.
  <delete>
    <fileset dir="." includes="**/*.bak"/>
  </delete>
deletes all files with the extension .bak from the current directory and any subdirectories.
  <delete includeEmptyDirs="true">
    <fileset dir="build"/>
  </delete>
deletes all files and subdirectories of build, including build itself.



Andrew Marlow 2003-07-08