ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Reilly" <peter.kitt.rei...@gmail.com>
Subject Re: escaping tilde in filename extension
Date Wed, 22 Aug 2007 17:26:25 GMT
You need to disable the defaultincludes attribute.

<fileset dir="${i_D}/..."  defaultexcludes="no">
   <include name="*.xml~"/>
</fileset>

http://ant.apache.org/manual/CoreTypes/fileset.html

Peter


On 8/22/07, Mario Madunic <hajduk@imag.net> wrote:
> I'm trying to move files according to extension and content prior to parsing and
> some files have an extension of .xml~. These files are duplicates of existing
> .xml files and I want to keep them for legacy purposes. I've been unable to move
> them using the following
>
> <move todir="${l_Drive}workFolder\archived">
>   <fileset dir="${l_Drive}workFolder\drop01">
>     <filename name="*.xml~" />
>   </fileset>
> </move>
>
> The tilde seems to be causing problems.
>
> Any help will be appreciated.
>
> Marijan (Mario) Madunic
>
>
> ---------------------------------------------------------------------
> 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