ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rahamim, Zvi (Zvi)" <zraha...@avaya.com>
Subject Use classpath
Date Thu, 24 Jan 2002 11:57:03 GMT
Hi All !
I run javac task and in the classpath I put some jars.
I want to use only these jars (I mean that I don't want the classpath to
be the Ant classpath and the jars).
Is there a way to do it (something like running: java -cp ...)

This is what I use:

    <path id="my.class.path">
			<pathelement location="A.jar"       />
			<pathelement location="B.jar"/>
    </path>


    <javac  srcdir="src"
            destdir="dest">
            
      <classpath refid="my.class.path"/>
            
    </javac>
    
Thanks!

--
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