Bugs item #1698336, was opened at 2007-04-11 06:49
Message generated for change (Comment added) made by dmonego
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1698336&group_id=31650

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Tasks
Group: 0.85
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: mElmers (melmers)
Assigned to: Nobody/Anonymous (nobody)
Summary: <zip> task failed with big content files

Initial Comment:
when i'm creating a task which compress a folder with
big files then the task will fail with the following error mesage. 


--- NAnt Error Message ---
BUILD FAILED

INTERNAL ERROR

System.ArgumentOutOfRangeException: Das angegebene Argument liegt außerhalb des
gültigen Wertebereichs.
Parametername: size
   bei ICSharpCode.SharpZipLib.Zip.ZipEntry.set_Size(Int64 value)
   bei ICSharpCode.SharpZipLib.Zip.ZipOutputStream.CloseEntry()
   bei ICSharpCode.SharpZipLib.Zip.ZipOutputStream.Finish()
   bei 
ICSharpCode.SharpZipLib.Zip.Compression.Streams.DeflaterOutputStream.Close()
   bei NAnt.Compression.Tasks.ZipTask.ExecuteTask()
   bei NAnt.Core.Task.Execute()
   bei NAnt.Core.Target.Execute()
   bei NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies)
   bei NAnt.Core.Project.Execute()
   bei NAnt.Core.Project.Run()

Please send bug report to [EMAIL PROTECTED]

Total time: 766.2 seconds.

---

Are there any limits within the filesize of the content or the overall zip file 
size ?

The folder has a uncompressed size of 8GB.
The biggest file is 4.9 GB and the other files are under 500 MB.



----------------------------------------------------------------------

Comment By: dmonego (dmonego)
Date: 2007-04-11 14:58

Message:
Logged In: YES 
user_id=1753573
Originator: NO

The library nant uses for compression doesn't support Zip64, and therefore
can't make a zip file with a total size over around 4GB. I built a version
that fixed this, but haven't gotten a reply about checking in the code:

http://www.mail-archive.com/nant-developers%40lists.sourceforge.net/msg07415.html

In short:

1. Get the source version of nant

2. Get the newest version of SharpZipLib:

http://www.icsharpcode.net/OpenSource/SharpZipLib/

3. Replace ICSharpCode.SharpZipLib.dll in lib/ with the new version.

4. Build nant.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1698336&group_id=31650

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to