ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yura Phink" <yph...@gmail.com>
Subject Ant appends files to classpath
Date Wed, 18 Jul 2007 07:14:01 GMT
Hi,
I've got a problem where Ant appends to a classpath of javac target some
jars that I'm not interested they would appear there.
This is a javac target:

<javac srcdir="${build}/RVM.classes" destdir="${build}/steamloom"
failonerror="false" nowarn="on"
classpath="${build}/RVM.classes/jksvm.jar:${build}/RVM.classes/rvmrt.jar:${build}/RVM.classes/junit.jar"
includeAntRuntime="no" includeJavaRuntime="no">
     <include name="de/**/*.java"/>
     <include name="net/**/*.java"/>
</javac>

However the final classpath contains also the following libraries in the
ending of a list:
/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre/lib/rt.jar:/usr/lib/jvm/java-
1.4.2-gcj-1.4.2.0/jre/lib/jsse.jar

the first library is actually the value of sun.boot.class.path attribute,
the second one I don't know.
Note that I use jikes compiler.

Any ideas why this happens and how can I remove these files from the
classpath?

Thanks a lot.

Yura

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message