ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Genter" <rgen...@silverlink.com>
Subject RE: Merging jar files?
Date Tue, 24 Aug 2004 12:17:11 GMT
Thanks, but I need to merge the content of an existing jar into the
destination jar. I just found <zipfileset>, though, which I think will
do what I want. Thanks anyway. 


--
Rick Genter
Sr. Software Engineer
Silverlink Communications
<mailto:rgenter@silverlink.com>
(781) 272-3080 x242


-----Original Message-----
From: Vladimit [mailto:ant-user@inbox.ru] 
Sent: Tuesday, August 24, 2004 8:23 AM
To: Ant Users List
Subject: Re: Merging jar files?

Hi
Try this
        <jar destfile="archive.jar" update="true">
            <fileset dir="resources">
                <include name="new.classes"/>
            </fileset>
        </jar>

Rick Genter wrote:

>Is there a simple way to merge one jar file into another in ant?
>Specifically, I have a hierarchy of .class files and a .jar file, and 
>I'd like to build a new .jar file that contains both the classes from 
>the .class files and the classes from the first .jar file.
>
>Thanks in advance.
>
>Rick
>--
>Rick Genter
>Sr. Software Engineer
>Silverlink Communications
><mailto:rgenter@silverlink.com>
>(781) 272-3080 x242
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional 
>commands, e-mail: user-help@ant.apache.org
>
>
>.
>
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional
commands, e-mail: user-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message