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 43139] New: - unjar task does NOT unjar JAR files > 10Gigabytes
Date Thu, 16 Aug 2007 02:50:33 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=43139>.
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=43139

           Summary: unjar task does NOT unjar JAR files > 10Gigabytes
           Product: Ant
           Version: 1.7.0
          Platform: Other
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: john_dove@mapinfo.com


Hello Apache ANT team,

I have found what appears to be the following bug with ANT 1.7.0:

=-=-=-=-=-=-=-=-=-=-
BUG DESCRIPTION:
=-=-=-=-=-=-=-=-=-=-

Regarding ANT 1.7.0, the <unjar> task will NOT "unjar" (i.e. unzip) a very 
large JAR file (e.g. 10GigaBytes or more).  However, it *will* unjar smaller 
JAR files (e.g. 66KiloBytes).  I have done extensive checking and "sanity 
tests" to ensure what I am seeing is correct - and yep - 10GB JARs cannot be 
unjar'd.  The specific code in my build.xml file is as follows, where the 
property values that are used at runtime are CORRECT.  In short, the below 
code works for small JAR files, but NOT large files.

<unjar 
overwrite="true" 
src="${user.machine.gold_image.dir.home}
\${user.machine.target.gold_image.zip_file.name}"
dest="${user.machine.gold_image.dir.home}"/>
<echo message="done."/>
</target>

In the case of the large JAR file that CANNOT be unjar'd, the <echo...> task 
in the above code is immediately executed -- with NOTHING be unjar'd.  It's as 
if the expanding operation is SKIPPED completely. Btw, the SAME large JAR file 
that CANNOT be unjar'd using this ANT code, can **successfully** be unjar'd 
when using the "JAR.EXE" program that ships with the J2SE 1.5.0. Thus, the JAR 
file itself is ok.  This alludes to the problem being in ANT 1.7.0.

When will this bug be fixed?  At MapInfo (www.mapinfo.com) we have products 
that we test using ANT, which have data sets that are 20GB in size. We need 
ANT to be able to handle unjaring files of that magnitude.  Would be nice if 
your team could look into this, when ya have a chance. :)  Thanks for your 
help.

Regards,
John Leonard Dove
work email: john_dove@mapinfo.com
work phone: 518-285-7388

-- 
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