ant-user mailing list archives

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

Hi,

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

	-Xbootclasspath/p:/export/opt/.vbroker-3.4/lib/vbjorb.jar

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
[skip]
    [javac] Compiling 1 source file to
/home/tom/projects/world/build/classes
    [javac] Using classic compiler
    [javac] Compilation args: -deprecation -d
/home/tom/projects/world/build/classes -classpath
/home/tom/projects/world/build/classes:/home/tom/projects/world/share/junit.jar:/home/tom/progress/java/lib/jax.zip:/export/opt/ant/lib/ant.jar:/export/opt/ant/lib/jaxp.jar:/export/opt/ant/lib/parser.jar:/export/opt/.jdk1.3/lib/tools.jar
-sourcepath
/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.
    [javac]
/home/tom/projects/world/src/com/websentric/cosevent/ITestEventDelivery.java:0:
Class java.lang.Object not found in class junit.framework.Assert.
    [javac] 
    [javac] ^
    [javac]
/home/tom/projects/world/src/com/websentric/cosevent/ITestEventDelivery.java:4:
Class java.util.EventObject not found in import.
    [javac] import java.util.EventObject;
    [javac]        ^
    [javac]
/home/tom/projects/world/src/com/websentric/cosevent/ITestEventDelivery.java:5:
Class java.util.Properties not found in import.
    [javac] import java.util.Properties;
    [javac]        ^
    [javac] 4 errors

BUILD FAILED

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

Mime
View raw message