ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: moving slowly
Date Fri, 02 Aug 2002 06:53:37 GMT
On Thu, 1 Aug 2002, Dominique Devienne <> wrote:

> In case <move> detects it must move all the files, it does a simple
> rename of the directory, as the deprecated <rename> did, and is thus
> almost as fast as the old <rename> (still needs to scan everything I
> think!?!?).

It has to scan the directory to know that it should move all files.

> If your <move> is slow, it's because <move> detected some files
> shouldn't be moved, and thus cannot simply rename the directory
> (although I guess it could, and delete the ones that shouldn't be
> moved...).

No, the files that are not supposed to be moved could already be
present in the target directory.  Neither overwriting the existing
files nor deleting them would be very nice.  8-)


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message