The documentation for the "Delete" task states (at the end):

---cut---
  <delete includeEmptyDirs="true" >
    <fileset dir="build" />
  </delete>

deletes all files and subdirectories of build, but not build itself.
---cut---

Actually it deletes the "build" directory itself.

I'm using Ant 1.4beta1.

Reply via email to