ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mario Madunic <haj...@imag.net>
Subject Re: escaping tilde in filename extension
Date Wed, 22 Aug 2007 18:18:36 GMT
Thank you, worked like a charm.

Marijan (Mario) Madunic

Quoting Peter Reilly <peter.kitt.reilly@gmail.com>:

> 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
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message