ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David McTavish <>
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}/"

-----Original Message-----
From: Lawrence Williams [] 
Sent: Monday, December 09, 2002 12:01 PM
Subject: CAB task


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 ...>


<cab basedir="${build}" cabfile="${build}/"

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

Any thoughts?

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

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message