DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26227>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26227

<zip> task should allow overwrite when updating an existing zip file

           Summary: <zip> task should allow overwrite when updating an
                    existing zip file
           Product: Ant
           Version: 1.6.0
          Platform: Other
               URL: http://ant.apache.org/manual/CoreTasks/zip.html
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Core tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The <zip> task has an attribute called 'duplicate'

In Ant 1.6.0, 'duplicate' can be set to 1 of 3 values: 

  "add"
  "preserve"
  "fail"

I would to see a fourth option:  "overwrite"

Source file: org/apache/tools/ant/taskdefs/Zip.java

The Zip class contains an inner class called "Duplicate"

The Duplicate class defines this method:

public String[] getValues() {
            return new String[] {"add", "preserve", "fail"};
}

It would be great if this array offered the fourth option: "overwrite"

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

Reply via email to