ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From RADEMAKERS Tanguy <Tanguy.RADEMAK...@swift.com>
Subject RE: Merging jar files?
Date Tue, 24 Aug 2004 14:06:45 GMT
duplicate the existing jar to create the new .jar file, then update the
new jar with the heirarchy of .class files as explained below.

Regs,
/t

>-----Original Message-----
>From: Rick Genter [mailto:rgenter@silverlink.com] 
>Sent: Tuesday, August 24, 2004 2:17 PM
>To: Ant Users List; ant-user@inbox.ru
>Cc: Rick Genter
>Subject: RE: Merging jar files?
>
>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
>
>
>

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


Mime
View raw message