ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@bost.de>
Subject Re: Stupid <delete> question
Date Tue, 14 Nov 2000 15:38:59 GMT
Andrew Thompson <andrewt@quidnunc.com> wrote:

> This should destroy the whole contents of /tmp (assuming it matches
> hidden files, if not try adding **/.*/** as another include pattern)
> 
>                 <delete>
>                         <fileset dir="/tmp">
>                                 <include name="**"/>
>                         </fileset>
>                 </delete>
> 

hidden (.* type) files are no problem for Ant, it's just that <delete>
won't delete empty directories when specifying a fileset AFAIK.

Stefan

Mime
View raw message