ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Lynch" <b...@jivesoftware.com>
Subject RE: Add contents of multiple JARs to a Jar?
Date Thu, 28 Feb 2002 23:39:22 GMT
Diane,

> Have you looked at the optional <jlink> task?

Yep, I tried that but it seems to do the same thing -- that is it merges the
Jars themselves into the target jar, not the *contents* of the jars.

Here's my sample task:

<jlink compress="true" outfile="${jar.dest.dir}/foo.jar">
   <addfiles>
      <pathelement path="${build.lib.merge.dir}/bar1.jar" />
      <pathelement path="${build.lib.merge.dir}/bar2.jar" />
   </addfiles>
</jlink>

I've also tried a few variations on a theme. :) All result in just the jars
included in foo.jar, not the contents.

Is there something else I'm missing?

Thanks in advance,
--Bill


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