ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fyodor Golos <fe...@resgen.com>
Subject Re: combining contents of multiple jar files (and directories)
Date Fri, 02 Nov 2001 21:34:11 GMT
Peter Donald wrote:

> On Sat, 3 Nov 2001 08:18, Fyodor Golos wrote:
> > Is it possible to create one jar file containing contents of mutiple
> > other jar files?
>
> what you want is jar task with a zipfileset. The zipfileset can include files
> from another zip/jar file ;)

Thanks, Pete! But don't I have to spell every single jar file that I want
combined? Like this:

<zip zipfile="dist/combined.zip">
    <zipfileset src="lib/one.zip">
    <zipfileset src="lib/two.zip">
    <zipfileset src="lib/one.zip">
    ...

Instead of this:

<zip zipfile="dist/combined.zip">
    <zipfileset src="lib/*.zip">
    ...

To be honest, this smells like potential maintenance problem.

Please correct me if I am wrong - you will make me happy!

--
Fyodor Golos
ResGen, Invitrogen Corporation
2130 Memorial Pkwy, SW
Huntsville, AL 35801
Phone: 800-533-4363
Direct: 256-327-4297
Fax: 256-536-9016




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


Mime
View raw message