Browse Source

copy using channels ignored append attribute so must not be used when append is requested

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1557432 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 11 years ago
parent
commit
a5ad127be2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/main/org/apache/tools/ant/util/ResourceUtils.java

+ 1
- 1
src/main/org/apache/tools/ant/util/ResourceUtils.java View File

@@ -427,7 +427,7 @@ public class ResourceUtils {
effectiveInputEncoding,
outputEncoding, project);
} else if (source.as(FileProvider.class) != null
&& destFile != null) {
&& destFile != null && !append) {
File sourceFile =
source.as(FileProvider.class).getFile();
copyUsingFileChannels(sourceFile, destFile);


Loading…
Cancel
Save