Summary: | Add 'real' overwrite support to Zip-based tasks | ||
---|---|---|---|
Product: | Ant | Reporter: | Horaci Macias <hmacias> |
Component: | Core tasks | Assignee: | Ant Notifications List <notifications> |
Status: | NEW --- | ||
Severity: | enhancement | CC: | simon.spruzen |
Priority: | P3 | Keywords: | PatchAvailable |
Version: | 1.6.5 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Attachments: | ZIp.java patch |
Description
Horaci Macias
2006-03-10 10:47:11 UTC
Created attachment 17862 [details]
ZIp.java patch
doh! didn't see the "add attachment" before...
Just to clarify, the proposed patch would add a 'duplicate' value. Currently the duplicate attribute in <zip> supports "add", "preserve" and "fail". After the patch, the attribute would support "add", "preserve", "fail" and "overwrite". This patch really isn't making sense with me... maybe if you attached a testcase I would understand what it's supposed to accomplish. Also, OSS projects get happy when patches are accompanied by tests... :) *** Bug 22930 has been marked as a duplicate of this bug. *** the use-case is "always replace existing archive entries with the local files even if the archive entries seem to be newer, leave all other archive entries alone" |