ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vladimit <ant-u...@inbox.ru>
Subject Re: Merging jar files?
Date Tue, 24 Aug 2004 12:23:23 GMT
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


Mime
View raw message