ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject Re: Corrupted file after Antjob
Date Fri, 25 Oct 2002 16:34:42 GMT

----- Original Message -----
From: "Gast, Thorsten IZ/HZA-IC4" <gasttor@de.ina.com>
To: "Ant-User (E-Mail)" <ant-user@jakarta.apache.org>
Sent: Friday, October 25, 2002 12:43 AM
Subject: Corrupted file after Antjob


> Hello,
> after processing my Ant-Job one file was corrupt.
> The file was copied but has only a size of exactly 32.768Byte.
> (normally arround 2.166.551Byte). This was a unique behaviour.
> Normally my copy-task (see below) is working.
> Is there a possibility to check if the copy-task was
> successful?

This is very wierd. one feature of 32768 is it is one of those 'file sector
sizes', and it is also one of the sizes that buffers can be. But a quick
check shows that ant copies files in 8KB blocks.

I'd recommend you run a file system check (fsck, checkdisk, whatever) as
that file may be somehow corrupt, so ant is failing to copy it due to a read
error in the second block.

-steve


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message