ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 51026] Ant fails to read tar archives containing a directory entry of size > 0
Date Wed, 20 Apr 2011 05:19:58 GMT

Stefan Bodewig <> changed:

           What    |Removed                     |Added
            Summary|TarEntry(File) screws up    |Ant fails to read tar
                   |size for directory          |archives containing a
                   |                            |directory entry of size > 0

--- Comment #4 from Stefan Bodewig <> 2011-04-20 01:19:55 EDT ---
(In reply to comment #2)
> Umm... I don't think the TarEntry constructor has been fixed. When I look at
> from the svn link you posted, it clearly shows on line 223:
> this.size = file.length();

My fault, I gave you the wrong end of the revision diff I was looking at, the
constructor has been fixed in svn revision 755473

> Also, I tried using Ant 1.8.1 before filing the issue and managed to repro it
> there as well... although on further thought I may have only tested the
> untar'ing side of things (e.g. untar a tar-ball containing some dir entries
> with 4k size).

The untaring side hasn't been adapted (and I don't think commons-compress
deals with it either.

(In reply to comment #3)

> Ant should use commons-compress rather than keeping its current impl.

For Ant core we like to keep the number of our dependencies as small as

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message