ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan S√łgaard <...@gopinocchio.com>
Subject RE: Multiple jar files in classpaths
Date Tue, 12 Feb 2002 13:54:38 GMT
Hi,

Try this (or somthing like;-)

        <javac destdir="${classlib}" srcdir="${srclib}"
debug="${compile.debug}" deprecation="${compile.deprecation}">
            <!-- To add something to the classpath: -->
            <classpath>
                <pathelement location="${log4jjar}"/>
                <pathelement location="${xmljar}"/>
                <pathelement location="${servletjar}"/>
                <pathelement location="${turbinejar}"/>
                <pathelement location="${velocityar}"/>
                <pathelement location="${xalanjar}"/>
            </classpath>
            <!-- To exclude some files: -->
            <exclude name="Test/"/>
        </javac>

-----Original Message-----
From: Rosemarie Hannan (Financial IQ) [mailto:RosemarieH@fin-soft.co.za]
Sent: 12. februar 2002 14:45
To: Ant Users (E-mail)
Subject: Multiple jar files in classpaths


Hi 

How do I put mutliple jar files in my classpath? 

I need the compiler to reference 3 different jar files so that the
source
code can compile.

Thanks
Rose


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


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


Mime
View raw message