ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vladimit <>
Subject Re: Merging jar files?
Date Tue, 24 Aug 2004 12:23:23 GMT
Try this
        <jar destfile="archive.jar" update="true">
            <fileset dir="resources">
                <include name="new.classes"/>

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 Genter
>Sr. Software Engineer
>Silverlink Communications
>(781) 272-3080 x242
>To unsubscribe, e-mail:
>For additional commands, e-mail:

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

View raw message