Submitted by Georges-Etienne Legendre. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@367316 13f79535-47bb-0310-9956-ffa450edef68master
| @@ -72,6 +72,7 @@ Frank Harnack | |||||
| Frederic Lavigne | Frederic Lavigne | ||||
| Gary S. Weaver | Gary S. Weaver | ||||
| Gautam Guliani | Gautam Guliani | ||||
| Georges-Etienne Legendre | |||||
| Gero Vermaas | Gero Vermaas | ||||
| Gerrit Riessen | Gerrit Riessen | ||||
| Glenn McAllister | Glenn McAllister | ||||
| @@ -175,6 +175,9 @@ Fixed bugs: | |||||
| * Project not set on ChainReaderHelpers used by the Redirector. | * Project not set on ChainReaderHelpers used by the Redirector. | ||||
| Bugzilla report 37958. | Bugzilla report 37958. | ||||
| * Copy task would fail on locked (or otherwise uncopyable) files even if | |||||
| failonerror set to false. Bugzilla report 38175. | |||||
| Other changes: | Other changes: | ||||
| -------------- | -------------- | ||||
| * Minor performance improvements Bugzilla report 37777 | * Minor performance improvements Bugzilla report 37777 | ||||
| @@ -799,7 +799,10 @@ public class Copy extends Task { | |||||
| if (targetFile.exists() && !targetFile.delete()) { | if (targetFile.exists() && !targetFile.delete()) { | ||||
| msg += " and I couldn't delete the corrupt " + toFile; | msg += " and I couldn't delete the corrupt " + toFile; | ||||
| } | } | ||||
| throw new BuildException(msg, ioe, getLocation()); | |||||
| if (failonerror) { | |||||
| throw new BuildException(msg, ioe, getLocation()); | |||||
| } | |||||
| log(msg, Project.MSG_ERR); | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||