ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 37295] - Copy task copies only 12,999 bytes from network drive
Date Mon, 31 Oct 2005 09:26:53 GMT
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=37295>.
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=37295





------- Additional Comments From stevel@apache.org  2005-10-31 10:26 -------
This has to be some JVM/network IO quirk. Unless you have any filtering turned
on,  <copy> just reads in blocks of 8192 bytes and writes it out, using
iostreams, breaking the moment that the read fails.

It also has to be pretty obscure, as it would have been reported before.

1. try using a drive letter path and not a //machine/path, as that is one
difference between your use and Jan's.

2. How far away is the network drive? This feels like network problems. Maybe
the issue is that the read() is failing but not reporting a network error, the
way it should.

We may want to think about reading the length of the file when we start the copy
and verifying that at least that many bytes came in, but that will probably
break things that copy live resources.



-- 
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message