but often you know for sure you want to do exactly this:
> <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).
for backup for example. You rename the dir to dir_timstamp and get new
source files from cvs .
I don't see any harm in leaving the rename task and just say that its only
for renaming (makes sence) and for other things use move...

tibi


> -----Original Message-----
> From: Stefan Bodewig [mailto:[EMAIL PROTECTED]]
> Sent: Friday, August 02, 2002 4:47 PM
> To: [EMAIL PROTECTED]
> Subject: Re: moving slowly
> 
> 
> 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]>
> 

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

Reply via email to