ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David McTavish <dmctav...@SANDVINE.com>
Subject RE: CAB task
Date Mon, 09 Dec 2002 17:05:30 GMT
you are setting your basedir, and adding the ${build} in your includes,
which is effectively saying include ${build}/${build}/CDRD.class
since the file doens't exist, and there are no files to add to the cab, it
doesn't create an empty cab.

change your line as follows:
<cab basedir="${build}" cabfile="${build}/CDRDie.cab"
includes="CDRD.class"/>

-----Original Message-----
From: Lawrence Williams [mailto:lawrence.williams@idil.co.uk] 
Sent: Monday, December 09, 2002 12:01 PM
To: ant-user@jakarta.apache.org
Subject: CAB task


Hi,

I am using Sun One Studio 4 (update 1) on win2K. I am trying to get an Ant
script to construct a CAB file using the optional task <CAB ...>

E.g.:

<cab basedir="${build}" cabfile="${build}/CDRDie.cab"
includes="${build}/CDRD.class"/>

When I run Ant the target seems to pass this line without any exception, but
the Cab file is never created. The CABARC executable is in the win2K system
path.

Any thoughts?
Lawrence

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.427 / Virus Database: 240 - Release Date: 12/6/2002
 

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message