https://bz.apache.org/bugzilla/show_bug.cgi?id=61334

            Bug ID: 61334
           Summary: Un-deprecate "Rename" task
           Product: Ant
           Version: 1.10.1
          Hardware: PC
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Core tasks
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

According to the ant manual the "Rename" task has been deprecated and the
"Move" task should be used instead.

In our ant script we need to rename a folder where files inside the folder can
be locked by a third party. If that is the case we need the whole ant script to
fail.

When using the Move task to rename a folder where files inside the folder are
currently being locked by a 3rd party the move task will move all files up to
the point where the locked files can't be moved and the the task fails. This
leaves the folder(s) in an inconsistent state. A proper rename should either
work or fail as a whole and not move parts of the folder.

Therefore the Rename task should not be deprecated as this requirement cannot
be implemented otherwise. (Or can it?)

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to