On Fri, 2 Aug 2002, Dominique Devienne <[EMAIL PROTECTED]> wrote: > Can I ask why the <rename> task was deprecated?
This happened during the "great file task unification period" between 1.1 and 1.2. At the same time when <deltree>, <copydir> and <copyfile> got deprecated. <copy> and <move> gained a whole bunch of new abilities and I don't think anybody really noticed that <move> became a lot slower than <rename> because nobody tried to move larger directory trees. > Involving <move> & filesets to rename one directory or file seems > overkill to me. <rename> only works for a single use-case: I want to move a whole directory tree to a new name, there doesn't exist a directory of that name already and the directory lives on the same file system as the one I want to move (cross filesystem moves on Unix or moving between drives on Windows is impossible with File#renameTo). <move> is so much more flexible - and if you set the filesets up the "correct" way it isn't that much slower. Stefan -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
