ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gregory Gimler <sh...@ll.mit.edu>
Subject RE: super-jar
Date Fri, 11 Jun 2004 18:46:40 GMT
I just tried it out.  Works great!  Thanks.


                         -Greg


At 02:34 PM 6/11/2004, Hunter_Dustin@emc.com wrote:
>Sure, we do just that. Heres are code:
>
><target name="jar.thirdparty">
>         <jar jarfile="${thirdparty.jar}" update="false" duplicate="preserve"
>index="true">
>             <zipfileset
>src="${vsan.dir}/lib/castor/0.9.3.19/castor-0.9.3.19-xml.jar"/>
>             <zipfileset
>src="${vsan.dir}/lib/opennms/joeSNMP-0.2.6/joesnmp-0.2.6.jar"/>
>             <zipfileset
>src="${vsan.dir}/lib/sun/jaf/pre1.0.2/activation.jar"/>
>             <zipfileset
>src="${vsan.dir}/lib/sun/jai/1.1.1_01/jai_codec.jar"/>
>             <zipfileset src="${vsan.dir}/lib/sun/javamail/1.1.3/mail.jar"/>
>             ...
>         </jar>
>     </target>
>
>-----Original Message-----
>From: Gregory Gimler [mailto:shark@ll.mit.edu]
>Sent: Friday, June 11, 2004 11:29 AM
>To: Ant Users List
>Subject: super-jar
>
>
>Is there some way with ant to create a "super jar" file from several other
>jars.  I'm trying to deploy code that I've built but to also include
>several 3rd party jars that
>my code depends on.  Is there an easy way to make one jar with ant or do I
>have to manually unjar everything into one directory and rejar it all?  Any
>advice
>would be appreciated.  Thanks.
>
>
>                                         -Greg
>
>
>---------------------------------------------------------------------
>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