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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to