ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Ellsworth <>
Subject Expanding a list of jars
Date Fri, 08 Feb 2002 21:15:54 GMT
Hi, all.

I have a multi stage build using ANT 1.4.1.  Each stage produces a jar 
containing the complete product of that stage.  We want to combine the 
results of several of those stages to build a final jar for customer 
deployment containing everything in the various earlier jars.

For a number of reasons, I am only allowed one property to specify the 
list of things to extract, but that property can contain the data in any 
human-readable format that ANT likes.  Currently, I have it in a comma 
separated list of jars with source directories like filesets appear to 

Here is an example property:
<property name=""       

Here is the task:
   <target name="bundle-zip" if="">
     <unzip src="${}" dest="${compile.classes}" />

When run, I get the error
Error while expanding 

One alternative that I am not quite clear on: the zipfileset.

My jar task currently says:
   <target name="jar-no-manifest">
     <mkdir dir="${jar.dist}"/>

I thought I could I skip the entire unzip step by adding:
       <zipfileset src="${}" includes="**/*"

to the jar step, but then I got the essentially identical error
Problem creating jar: 
jar (No such file or directory)

Should I be going about this differently?


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

View raw message