ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Goli, Srikanth" <sg210...@exchange.DAYTONOH.NCR.com>
Subject ant's cab task
Date Fri, 02 Mar 2001 20:04:38 GMT
Hi

I am newbie to work with cab files. I am trying to create a cab file using
ant's optional task. The following target I created is working fine when I
create a cab file with small directories. But I tried to create it with many
directories that have subdirectories etc...it tried adding lot of files then
it failed with error code 1. 

I am wondering is there any size limitation of cab tool. I am using cab tool
provided by Microsoft in cab-sdk. I tried using cab tool provided my
microsoft in sdk-java. I got the same error.

I am using Ant version 1.3beta3 compiled on February 22 2001, Microsoft (R)
Cabinet Tool - Version 1.00.602.2 (08/14/97)

Am I doing something wrong? Am I using wrong cab tools? 
Any suggestions? 

<target name="cab">
    <cab cabfile="crm.cab"
         verbose="yes"
	 basedir="${Ipx}" />
  </target>

verbose output  ...(partly)

   [cab]
   [cab] Microsoft (R) Cabinet Tool - Version 1.00.602.2 (08/14/97)
   [cab] Copyright (c) Microsoft Corp 1994-1997. All rights reserved.
   [cab]
   [cab] Creating new cabinet 'C:\NewBuild\crm.cab' with compression
'MSZIP':
    ....
    .....

   [cab]   -- adding crm\cm\batch\test_setup\vssver.scc
   [cab]   -- adding crm\cm\batch\vssver.scc
   [cab] FCIAddFile() failed: code 1 [Failure opening file to be stored in
ca
binet]

BUILD SUCCESSFUL

-Thanks
Srikanth Goli

Mime
View raw message