ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dick, Brian E." <Brian.D...@FMR.com>
Subject RE: Delete dir if empty
Date Wed, 01 Jun 2005 15:01:55 GMT
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:jhsystems@gmail.com] 
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. <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

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message