ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rahamim, Zvi (Zvi)" <>
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"/>

    <javac  srcdir="src"
      <classpath refid="my.class.path"/>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message