ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
Subject RE: Add contents of multiple JARs to a Jar?
Date Fri, 01 Mar 2002 01:22:52 GMT
--- Bill Lynch <bill@jivesoftware.com> wrote:
> 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 think you need to use <mergfiles>, don't you? That's what the first
example in the doc suggests to me anyway. <addfiles> seems to be for
adding files (even jars) and complete entitites rather than putting their
contents into the new jar.

Diane


=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Yahoo! Greetings - Send FREE e-cards for every occasion!
http://greetings.yahoo.com

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