ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ming Fai" <ming...@hongkong.com>
Subject RE: Special character in file name
Date Tue, 07 Dec 2004 08:12:30 GMT
Sorry that I have overlooked that part in the document. It works perfectly.
Thank you!

Regards,
mingfai

> -----Original Message-----
> From: Yves Martin [mailto:yves.martin@elca.ch] 
> Sent: Tuesday, December 07, 2004 4:03 PM
> To: Ant Users List
> Subject: Re: Special character in file name
> 
> 
> "Ming Fai" <mingfai@hongkong.com> 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: 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