Please check it:
http://ant.apache.org/manual/Tasks/delete.html
If you do not want to specify A, B, C, you will have to do some nasty trick to recursively search all subdirectories. I did this using a custom java script.
If you can specify A, B, C, although you just need something:
<delete includeEmptyDirs="true"> <fileset dir="root" includes="**/to_delete/"/> </delete>
FailedDev
source share