Does this path really have an apostrophe in it? 'COMPONENTS/3rdPartyDLL's/licenses.licx'
If so, my guess is that's your problem - the SharpZipLib library most likely thinks the apostrophe is the end of the string. - Shawn Bobby Michael wrote: > Hi All, > > While I was working with Unzip task, I was getting the following > error. Can anybody please help me. > > BUILD FAILED > C:\My Personals\NAnt Builds\unzip\unzip.build(5,2): > Unable to expand 'COMPONENTS/3rdPartyDLL's/licenses.licx' to 'C:\My > Personals\NAnt Builds\unzip\test1'.: > NAnt.Core.BuildException: C:\My Personals\NAnt > Builds\unzip\unzip.build(5,2): > Unable to expand 'COMPONENTS/3rdPartyDLL's/licenses.licx' to 'C:\My > Personals\NAnt Builds\unzip\test1'. ---> > System.ArgumentOutOfRangeException: Specified argument was out of the > range of valid values. > Parameter name: length > at > ICSharpCode.SharpZipLib.Zip.Compression.Streams.InflaterInputBuffer.ReadClearTextBuffer(Byte[] > outBuffer, Int32 offset, Int32 length) > at ICSharpCode.SharpZipLib.Zip.ZipInputStream.BodyRead(Byte[] b, > Int32 off, Int32 len) > at ICSharpCode.SharpZipLib.Zip.ZipInputStream.InitialRead(Byte[] > destination, Int32 offset, Int32 count) > at ICSharpCode.SharpZipLib.Zip.ZipInputStream.Read(Byte[] > destination, Int32 index, Int32 count) > at NAnt.Compression.Tasks.UnZipTask.ExtractFile(Stream inputStream, > String entryName, DateTime entryDate) > --- End of inner exception stack trace --- > at NAnt.Compression.Tasks.UnZipTask.ExtractFile(Stream inputStream, > String entryName, DateTime entryDate) > at NAnt.Compression.Tasks.UnZipTask.ExecuteTask() > at NAnt.Core.Task.Execute() > at NAnt.Core.Project.InitializeProjectDocument(XmlDocument doc) > at NAnt.Core.Project.Execute() > at NAnt.Core.Project.Run () > > > Thanks in advance > Bob Mike > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > 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-users mailing list > NAnt-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nant-users > ------------------------------------------------------------------------- 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-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users