ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yves Martin <>
Subject Re: Special character in file name
Date Tue, 07 Dec 2004 08:03:20 GMT
"Ming Fai" <> writes:

> Hi,
> I want to use ANT to clean up a directory with some files named like
> "xxxxxxxx.yyy~", i.e. with '~' character in the file extension. I tried a
> few ways including the following method but no success:
>   <delete>
>     <fileset dir="${proj.dir}" includes="**/*.*~"/>
>   </delete>
> What should I specify as includes value? Thx.

 You should look in documentation of "FileSet". Section "default excludes". The
 pattern "**/*~" is included in default excludes, that's why your fileset is
 empty. So you have to set the attribute
 in your fileset element.

Yves Martin

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message