https://issues.apache.org/bugzilla/show_bug.cgi?id=51026
Stefan Bodewig <[email protected]> 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 <[email protected]> 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 > TarEntry.java 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. http://ant.apache.org/antlibs/compress/ For Ant core we like to keep the number of our dependencies as small as possible. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
