What about include "includeemptydirs" in your delete task, like the following example?
<delete includeemptydirs="true"> </delete> Jian On 6/1/05, Dick, Brian E. <[EMAIL PROTECTED]> wrote: > How can I delete a directory only when it is empty? I have tried many > combinations of include/exclude with the delete task, but cannot find > anything that works in all cases. > > Later, > BEDick > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]