ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Quas <>
Subject Bootclasspath Problems
Date Thu, 04 Jan 2001 10:40:49 GMT


I'm trying to build a project where I have to set a bootclasspath (ant
output below).

Does the <javac> task have a problem with the bootclasspath? In my old
build environment (using GNU make) I used


and it just worked fine. However, ant does it a different way as you can
see below, and that's why I don't the get JAVA_HOME/jre/lib/rt.jar in
the class path. Is there any way to get around this (preferably w/o
defining the rt.jar manually), or is there an improved version of
<javac> which I can give the -Xbootclasspath/p: as a parameter?

Thanks, tom

$ ant -v
Detected Java Version: 1.3
Detected OS: Linux
Project base dir set to: /home/tom/projects/world
    [javac] Compiling 1 source file to
    [javac] Using classic compiler
    [javac] Compilation args: -deprecation -d
/home/tom/projects/world/build/classes -classpath
/home/tom/projects/world/src:/home/tom/projects/world/build/generated -g
-bootclasspath /export/opt/.vbroker-3.4/lib/vbjorb.jar
    [javac] File to be compiled:
    /home/that package java.lang is accessible.
Class java.lang.Object not found in class junit.framework.Assert.
    [javac] ^
Class java.util.EventObject not found in import.
    [javac] import java.util.EventObject;
    [javac]        ^
Class java.util.Properties not found in import.
    [javac] import java.util.Properties;
    [javac]        ^
    [javac] 4 errors


thomas quas	    | "Art lies in the consciousness of doing the thing,    |  in the attention of the happening[...]"
                             -- Allen Ginsberg --

View raw message