Discussion:
[Nant-users] zip task error
David Parrish
2005-08-11 17:49:12 UTC
Permalink
Hi, I am trying to zip a large amount of data and am receiving an error
message after about 5-10 minutes of zipping. Here is my code:



<zip zipfile="${label.complete}.zip" ziplevel="1" includeemptydirs="true">

<fileset basedir="${directory.source.project}">

<include name="*.dll" />

<include name="NimitzFast*" />

</fileset>

<fileset basedir="${directory.source.project}\data"
prefix="data">

<include name="**\*" />

</fileset>

</zip>



And here is the error I get:



Zip file 'C:\CCbuilds\NimitzPC\NimitzPC\build\NimitzPCv0.zip' could not be
created.

Specified argument was out of the range of valid values.

Parameter name: Offset



I am using NAnt version 0.85 Release Candidate 3. Does anyone know what is
happening here? If I remove the data fileset then it works fine. The data
directory has about 5 gigs of information with several sub trees that go
about 2-4 deep.



Thanks,

David
Gert Driesen
2005-08-11 20:14:44 UTC
Permalink
David,

I think this problem is caused by a bug or limitation in #ziplib.

Can you report this issue here:

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

Thanks !

Gert
-----Original Message-----
David Parrish
Sent: donderdag 11 augustus 2005 19:49
Subject: [Nant-users] zip task error
Hi, I am trying to zip a large amount of data and am
receiving an error message after about 5-10 minutes of
<zip zipfile="${label.complete}.zip" ziplevel="1"
includeemptydirs="true">
<fileset basedir="${directory.source.project}">
<include name="*.dll" />
<include name="NimitzFast*" />
</fileset>
<fileset
basedir="${directory.source.project}\data" prefix="data">
<include name="**\*" />
</fileset>
</zip>
Zip file 'C:\CCbuilds\NimitzPC\NimitzPC\build\NimitzPCv0.zip'
could not be created.
Specified argument was out of the range of valid values.
Parameter name: Offset
I am using NAnt version 0.85 Release Candidate 3. Does
anyone know what is happening here? If I remove the data
fileset then it works fine. The data directory has about 5
gigs of information with several sub trees that go about 2-4 deep.
Thanks,
David
Loading...