ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 16010] - Distributed ant bash script references classes.zip - not present in IBM JDK1.4
Date Mon, 13 Jan 2003 05:59:55 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16010>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16010

Distributed ant bash script references classes.zip - not present in IBM JDK1.4





------- Additional Comments From dan_tropp@yahoo.com.au  2003-01-13 05:59 -------
> What is the problemn you are having that this would fix?

Jikes failed to find any of the classes in the basic java library (java.lang, 
java.util, etc). With my changes in compilation works (using jikes). With my 
changes out, compilation works with the default compiler but using jikes gives 
this output:

[dan@tapeworm ant_live]$ ant -f testall.xml -Dbuild.compiler=jikes -
Dcvs.tag=MIS_LIVE_STABLE compile
Buildfile: testall.xml

init:
     [echo] javaclasspath=/usr/local/ant/lib/xml-
apis.jar:/usr/local/ant/lib/xercesImpl.jar:/usr/local/ant/lib/optional.jar:/usr/
local/ant/lib/junit.jar:/usr/local/ant/lib/cruisecontrol.jar:/usr/local/ant/lib/
ant.jar:/usr/local/java/lib/tools.jar

compile:
     [echo] ant java version:1.4
     [echo] java home:/usr/local/java/bin/../jre
    [javac] Compiling 2 source files to /home/dan/ant_live/build

    [javac] Found 2 system errors:

    [javac] *** Error: Could not find package "java/util" in:
    [javac]                 /usr/local/java/jre/lib/ext/gskikm.jar
    [javac]                 /usr/local/java/jre/lib/ext/ibmjceprovider.jar
    [javac]                 /usr/local/java/jre/lib/ext/indicim.jar
    [javac]                 /usr/local/java/jre/lib/ext/jaccess.jar
    [javac]                 /usr/local/java/jre/lib/ext/ldapsec.jar
    [javac]                 /usr/local/java/jre/lib/ext/oldcertpath.jar
    [javac]                 /home/dan/ant_live/build
    [javac]                 /usr/local/ant/lib/xml-apis.jar
    [javac]                 /usr/local/ant/lib/xercesImpl.jar
    [javac]                 /usr/local/ant/lib/optional.jar
    [javac]                 /usr/local/ant/lib/junit.jar
    [javac]                 /usr/local/ant/lib/cruisecontrol.jar
    [javac]                 /usr/local/ant/lib/ant.jar
    [javac]                 /usr/local/java/lib/tools.jar

    [javac] *** Error: Could not find package "java/lang" in:
    [javac]                 /usr/local/java/jre/lib/ext/gskikm.jar
    [javac]                 /usr/local/java/jre/lib/ext/ibmjceprovider.jar
    [javac]                 /usr/local/java/jre/lib/ext/indicim.jar
    [javac]                 /usr/local/java/jre/lib/ext/jaccess.jar
    [javac]                 /usr/local/java/jre/lib/ext/ldapsec.jar
    [javac]                 /usr/local/java/jre/lib/ext/oldcertpath.jar
    [javac]                 /home/dan/ant_live/build
    [javac]                 /usr/local/ant/lib/xml-apis.jar
    [javac]                 /usr/local/ant/lib/xercesImpl.jar
    [javac]                 /usr/local/ant/lib/optional.jar
    [javac]                 /usr/local/ant/lib/junit.jar
    [javac]                 /usr/local/ant/lib/cruisecontrol.jar
    [javac]                 /usr/local/ant/lib/ant.jar
    [javac]                 /usr/local/java/lib/tools.jar

BUILD FAILED
file:/home/dan/ant_live/testall.xml:110: Compile failed; see the compiler error 
output for details.

Total time: 8 seconds


Perhaps you are right, though, and the jars should only be included in the 
jikes classpath rather than the general ant classpath.

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message