I just tried it out.  Works great!  Thanks.


-Greg


At 02:34 PM 6/11/2004, [EMAIL PROTECTED] 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:[EMAIL PROTECTED]
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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to