ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 28558] New: - Lost functionality by deprecating Rename task
Date Fri, 23 Apr 2004 16:13:21 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28558>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28558

Lost functionality by deprecating Rename task

           Summary: Lost functionality by deprecating Rename task
           Product: Ant
           Version: 1.5.4
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: jwhite@knighttrading.com


According to the Ant documentation for the Rename task: "This task has been
deprecated. Use the Move task instead."

However, the Move task does not have all the functionality of the Rename task.
Specifically, Rename allows the user to specify replace="false". The Move task
does not provide the user this crucial functionality. The Move task does allow
the user to specify overwrite="false", but this still allows the Move task to
overwrite a file if the file to be overwritten happens to be older.

I would suggest either "undeprecating" the Rename task or improving the Move
task to support all of Rename's functionality.

Thanks,
Jeff White

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message