Hi,
 
Reporting as instructed by Nant!
 
I'm getting this exception thrown when using the zip task on a large amount of files
Package:
 
      [zip] Zipping 22 files to 'R:\ROnline\ROnline Release 2005-06-15 14.08.zip'.
      [zip] Zipping 1 files to 'R:\ROnline\ROnline Release 2005-06-15 14.08.zip'.
      [zip] Zipping 663 files to 'R:\ROnline\ROnline Release 2005-06-15 14.08.zip'.
 
BUILD FAILED
 
INTERNAL ERROR
 
System.IO.IOException: Error performing inpage operation.
 
   at System.IO.__Error.WinIOError(Int32 errorCode, String str)
   at System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)
   at System.IO.FileStream.Write(Byte[] array, Int32 offset, Int32 count)
   at ICSharpCode.SharpZipLib.Zip.Compression.Streams.DeflaterOutputStream.Finish()
   at ICSharpCode.SharpZipLib.Zip.ZipOutputStream.CloseEntry()
   at ICSharpCode.SharpZipLib.Zip.ZipOutputStream.Finish()
   at ICSharpCode.SharpZipLib.Zip.Compression.Streams.DeflaterOutputStream.Close()
   at NAnt.Compression.Tasks.ZipTask.ExecuteTask()
   at NAnt.Core.Task.Execute()
   at NAnt.Core.Target.Execute()
   at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies)
   at NAnt.Core.Tasks.CallTask.ExecuteTask()
   at NAnt.Core.Task.Execute()
   at NAnt.Core.Target.Execute()
   at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies)
   at NAnt.Core.Project.Execute()
   at NAnt.Core.Project.Run()
 
Please send bug report to nant-developers@lists.sourceforge.net.
 
Total time: 377.5 seconds.
 

Unhandled Exception: System.IO.IOException: Error performing inpage operation.
 
   at System.IO.__Error.WinIOError(Int32 errorCode, String str)
   at System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)
   at System.IO.FileStream.FlushWrite()
   at System.IO.FileStream.Flush()
   at System.IO.FileStream.Dispose(Boolean disposing)
   at System.IO.FileStream.Finalize()
 
This is the task I'm using:-
 
 <target name="Package" description="Package the release">
 
  <zip zipfile="${ZipFile}" includeemptydirs="true" ziplevel="9">
   <fileset basedir="${Release.OutputDir}">
    <exclude name="**\*.snk" />
    <include name="bin\*" />
   </fileset>
  </zip>
 
  <zip zipfile="${ZipFile}" includeemptydirs="true" ziplevel="9">
   <fileset basedir="${Release.OutputDir}">
    <include name="*Release Notes.txt" />
    <exclude name="**\*.snk" />
   </fileset>
  </zip>
 
  <zip zipfile="${ZipFile}" includeemptydirs="true" ziplevel="5">
   <fileset basedir="C:\projects\ROnline\ROnline\">
    <include name="**/*" />
    <exclude name="**\*EmbeddedResources**" />
    <exclude name="**\*.csproj" />
    <exclude name="**\*.vbproj" />
    <exclude name="**\*.cs" />
    <exclude name="**\*.vb" />
    <exclude name="**\*.resx" />
    <exclude name="**\*.webinfo" />
    <exclude name="**\*.config" />
    <exclude name="**\*.vspscc" />
    <exclude name="**\*.scc" />
    <exclude name="**\bin\*" />
    <exclude name="**\build\*" />
    <exclude name="**\thumbs.db" />
    <exclude name="**\*.snk" />
   </fileset>
 
  </zip>
 </target>
 
Version info : NAnt 0.85 (Build 0.85.1793.0; rc1; 28/11/2004)

Ben Gutteridge
Solutions Engineer
IT Fusion Limited
Tel: 08452 FUSION [387466]
Website: www.itfusion.co.uk
Email: [EMAIL PROTECTED]

__________________________________________________________________________________


IT Fusion provides a range of IT and business support services to SMEs around the UK.  We provide IT Solutions such as bespoke software development, hosting, web design and hardware.  Round the clock Support on all general IT issues, including software and technical problems.  Security covering secure information, virus protection, intrusions, remote access and back-up and recovery.  We also provide Marketing and business development.  For more information about our IT and business support services, visit our website at www.itfusion.co.uk or call 08452 FUSION [387466].

IT Fusion Limited - Registered in England - Company No.4998037
95 Spencer Street, The Jewellery Quarter, Birmingham, B18 6DA.

 

Reply via email to