Nope. That deletes files. I don't want to delete files. I only want to delete empty directories.
-----Original Message----- From: j&h systems [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 01, 2005 10:46 AM To: Ant Users List Subject: Re: Delete dir if empty 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]