This task has been deprecated. Use the Delete task instead.
Deletes a directory with all its files and subdirectories.
| Attribute | Description | Required |
|---|---|---|
| dir | the directory to delete. | Yes |
<deltree dir="dist"/>
deletes the directory dist, including its files and subdirectories.
<deltree dir="${dist}"/>
deletes the directory ${dist}, including its files and subdirectories.