Attribute | Description | Required | ||||
|
|
At least one of the two, unless a <fileset> is specified. |
||||
verbose | Show the name of each deleted file ("true"/"false"). Default is "false" when omitted. | No | ||||
quiet | If the specified file or directory does not exist, do not display a diagnostic message (unless Ant has been invoked with the ?verbose or ?debug switches) or modify the exit status to reflect an error. When set to "true", if a file or directory cannot be deleted, no error is reported. This setting emulates the -f option to the Unix rm command. Default is "false". Setting this to "true" implies setting failonerror to "false". | No | ||||
failonerror | Controls whether an error (such as a failure to delete a file) stops the build or is merely reported to the screen. Only relevant if quiet is "false". Default is "true". | No | ||||
includeEmptyDirs | Set to "true" to delete empty directories when using filesets. Default is "false". | No | ||||
includes | Deprecated. Use <fileset>. Comma- or space-separated list of patterns of files that must be deleted. All files are relative to the directory specified in dir. | No | ||||
includesfile | Deprecated. Use <fileset>. The name of a file. Each line of this file is taken to be an include pattern | No | ||||
excludes | Deprecated. Use <fileset>. Comma- or space-separated list of patterns of files that must be excluded from the deletion list. All files are relative to the directory specified in dir. No files (except default excludes) are excluded when omitted. | No | ||||
excludesfile | Deprecated. Use <fileset>. The name of a file. Each line of this file is taken to be an exclude pattern | No | ||||
defaultexcludes | Indicates whether default excludes should be used or not ("yes"/"no"). Default excludes are used when omitted. | No |