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=36033>. 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=36033 Summary: setDuplicate method in Zip.java claims values are skip/keep/overwrite Product: Ant Version: unspecified Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: Documentation AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] Looking at the duplicate class the values are actually preserve, fail and add. Is there a way to on a duplicate have jar overwrite the current file with the new file? There does not seem to be a way to do this. /** * Sets behavior for when a duplicate file is about to be added - * one of <code>keep</code>, <code>skip</code> or <code>overwrite</code>. * Possible values are: <code>keep</code> (keep both * of the files); <code>skip</code> (keep the first version * of the file found); <code>overwrite</code> overwrite the file * with the new file * Default for zip tasks is <code>keep</code> */ public void setDuplicate(Duplicate df) { duplicate = df.getValue(); } -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
