"Ming Fai" <[EMAIL PROTECTED]> 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
defaultexcludes="no"
in your fileset element.
Regards,
--
Yves Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]