What about include "includeemptydirs" in your delete task, like the
following example?
<delete includeemptydirs="true">
</delete>
Jian
On 6/1/05, Dick, Brian E. <Brian.Dick@fmr.com> 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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
|