[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ant-user
Subject:    RE: Add contents of multiple JARs to a Jar?
From:       "Bill Lynch" <bill () jivesoftware ! com>
Date:       2002-02-28 23:39:22
[Download RAW message or body]

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>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic