ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: unpredictable failure of FileChannel#transferFrom
Date Mon, 06 Jan 2014 16:18:34 GMT
On 2014-01-06, Jesse Glick wrote:

> On Sat, Jan 4, 2014 at 10:23 AM, Stefan Bodewig <bodewig@apache.org> wrote:

>> all Ant sees is a plain IOException so we cannot handle the case by
>> falling back to stream based copying.

> Why not? Even if the IOException is “genuine” (missing permissions,
> etc.), a fallback to stream copying would presumably fail with the
> same error.

Probably.  Maybe I'm too concerned about wasted time trying the same
copy operation twice.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message