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 5036] New: - Zip and friends task enhancement request
Date Thu, 22 Nov 2001 13:52:49 GMT
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=5036>.
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=5036

Zip and friends task enhancement request

           Summary: Zip and friends task enhancement request
           Product: Ant
           Version: 1.4.1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Core tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: simon.spruzen@rbos.com


Can zip, gzip, jar, war et al. have a new attribute called 'duplicate' that 
determines what the task should to do when asked to put a duplicate file (by 
name and prefix path *within* the zip file) into the zip file:

duplicate can take these values:

1. "fail" - the task will fail when trying to add a duplicate file.
2. "add" - the task will silently add duplicates, so there will be n entries 
with the same name. This is current behaviour.
3. "replace" - the task will replace the existing zip entry with the new one.
4. "preserve" - the task will preserve the existing zip entry and discard the 
new one.

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


Mime
View raw message