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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to