just had the same problem ;-)
<move todir="${oldSrcDir}">
<fileset dir="${srcDir}" defaultexcludes="false"/>
</move>
make sure all the files are removed afterwards if not it will be slow (don't
ask me why)
make sure you move everything, again else slow.
and take a look in the history this is 'asked and answerd'
http://www.mail-archive.com/[email protected]/
good luck
tibi
> -----Original Message-----
> From: Geoff Meakin [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 01, 2002 5:49 PM
> To: [EMAIL PROTECTED]
> Subject: moving slowly
>
>
> Hi,
>
> Im trying to move a directory to another directory.. the way
> I've been recommended doing it (looking through this archive) is
>
> <move todir="newdirname">
> <fileset dir="oldname">
> <include name="**/*.*"/>
> </fileset>
> </move>
>
> However my directory contains thousands and thousands of files,
> and this is taking ages. When you use the move command in DOS
> on a directory its instantaneous. Is there a better way to
> do this in ANT that wont take this long?
>
> Thanks
> Geoff
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>