Hi, may be this one would be yet better.
Petr
--- src/main/org/apache/tools/ant/util/ResourceUtils.java
+++ src/main/org/apache/tools/ant/util/ResourceUtils.java
@@ -466,7 +466,7 @@
long count = srcChannel.size();
while (position < count) {
position +=
- srcChannel.transferTo(position, FileUtils.BUF_SIZE,
+ srcChannel.transferTo(position, count - position,
destChannel);
}
} finally {
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

