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 Mon, 14 Jun 2004 15:15:57 GMT
I'm deploying this jar internally right now.  It worked for simple cases 
but not when I added 3rd party jars that had signature
files in them.  So I ended up having to extract those, remove the signature 
files from the jars, and rejar.  From there it worked.


                                                         -Greg


At 12:24 PM 6/12/2004, Gary Eberhart wrote:
>Where are you deploying this super.jar, and did it work?
>
>-----Original Message-----
>From: Gregory Gimler [mailto:shark@ll.mit.edu]
>Sent: Friday, June 11, 2004 12:47 PM
>To: user@ant.apache.org
>Subject: RE: super-jar
>
>
>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
>
>
>
>---------------------------------------------------------------------
>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