ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: moving slowly
Date Fri, 02 Aug 2002 06:53:37 GMT
On Thu, 1 Aug 2002, Dominique Devienne <DDevienne@lgc.com> 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-)

Stefan

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


Mime
View raw message