ant-user mailing list archives

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

> 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">
      <pathelement path="${build.lib.merge.dir}/bar1.jar" />
      <pathelement path="${build.lib.merge.dir}/bar2.jar" />

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,

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

View raw message