[kaffe] Getting ant-1.6.0 to build and work: progress report

Dalibor Topic robilad at kaffe.org
Wed Jan 7 12:34:02 PST 2004


Hi all,

I've been trying to update kaffe's kaffe-extra directory to latest kaffe 
and ant, and faced some compiler problems, that were fixed by Guilhem.

I've attached a patch against ant-1.6.0, needed to bootstrap ant-1.6.0 
with latest kaffe from CVS. It still doesn't build though, see the build 
log below.

Patches, ideas etc. welcome, as usual.

cheeers,
dalibor topic

bash-2.05a$ build.sh -Dbuild.compiler=kjc
... Bootstrapping Ant Distribution
... Compiling Ant Classes
... Copying Required Files
... Building Ant Distribution
Buildfile: build.xml

bootstrap:

prepare:

check_for_optional_packages:

build:
Created dir: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/lib
Compiling 216 source files to 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/classes
Copying 1 file to 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/classes
Copying 2 files to 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/classes
Copying 2 files to 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/classes/org/apache/tools/ant/taskdefs/optional/junit/xsl

jars:
Copying 4 files to 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build
Copying 1 file to 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build
Building jar: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/lib/ant-launcher.jar
Building jar: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/lib/ant.jar
Building jar: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/lib/ant-bootstrap.jar
Building jar: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/lib/ant-nodeps.jar
Building jar: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/lib/ant-trax.jar
Building MANIFEST-only jar: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/lib/ant-xalan1.jar
Building jar: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/lib/ant-xalan1.jar
Building MANIFEST-only jar: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/lib/ant-xalan2.jar
Building jar: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/lib/ant-xalan2.jar
Building MANIFEST-only jar: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/lib/ant-xslp.jar
Building jar: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/lib/ant-xslp.jar
Building MANIFEST-only jar: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/lib/ant-apache-resolver.jar
Building jar: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/lib/ant-apache-resolver.jar
Building jar: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/lib/ant-junit.jar
Building MANIFEST-only jar: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/lib/ant-jakarta-regexp.jar
Building jar: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/lib/ant-jakarta-regexp.jar
Building MANIFEST-only jar: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/lib/ant-jakarta-oro.jar
Building jar: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/lib/ant-jakarta-oro.jar
Building MANIFEST-only jar: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/lib/ant-jakarta-bcel.jar
Building jar: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/lib/ant-jakarta-bcel.jar
Building MANIFEST-only jar: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/lib/ant-jakarta-log4j.jar
Building jar: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/lib/ant-jakarta-log4j.jar
Building MANIFEST-only jar: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/lib/ant-commons-logging.jar
Building jar: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/lib/ant-commons-logging.jar
Building MANIFEST-only jar: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/lib/ant-apache-bsf.jar
Building jar: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/lib/ant-apache-bsf.jar
Building MANIFEST-only jar: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/lib/ant-stylebook.jar
Building jar: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/lib/ant-stylebook.jar
Building MANIFEST-only jar: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/lib/ant-javamail.jar
Building jar: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/lib/ant-javamail.jar
Building MANIFEST-only jar: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/lib/ant-icontract.jar
Building jar: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/lib/ant-icontract.jar
Building MANIFEST-only jar: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/lib/ant-netrexx.jar
Building jar: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/lib/ant-netrexx.jar
Building MANIFEST-only jar: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/lib/ant-commons-net.jar
Building jar: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/lib/ant-commons-net.jar
Building MANIFEST-only jar: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/lib/ant-starteam.jar
Building jar: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/lib/ant-starteam.jar
Building MANIFEST-only jar: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/lib/ant-vaj.jar
Building jar: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/lib/ant-vaj.jar
Building jar: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/lib/ant-antlr.jar
Building jar: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/lib/ant-jmf.jar
Building MANIFEST-only jar: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/lib/ant-jai.jar
Building jar: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/lib/ant-jai.jar
Building MANIFEST-only jar: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/lib/ant-swing.jar
Building jar: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/lib/ant-swing.jar
Building MANIFEST-only jar: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/lib/ant-jsch.jar
Building jar: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/lib/ant-jsch.jar
Building MANIFEST-only jar: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/lib/ant-jdepend.jar
Building jar: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/lib/ant-jdepend.jar
Building MANIFEST-only jar: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/lib/ant-weblogic.jar
Building jar: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/build/lib/ant-weblogic.jar

dist-lite:
Created dir: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/bootstrap
Created dir: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/bootstrap/bin
Created dir: 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/bootstrap/lib
Copying 29 files to 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/bootstrap/lib
Copying 2 files to 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/bootstrap/lib
Copying 13 files to 
/tmp/topic/kaffe-extras/build/apache-ant-1.6.0.patched/bootstrap/bin







BUILD SUCCESSFUL
Total time: 1 minute 47 seconds
... Cleaning Up Build Directories
... Done Bootstrapping Ant Distribution
Unable to locate tools.jar. Expected to find it in 
/tmp/topic/current-jthreads-jit3//lib/tools.jar
java.lang.ClassCastException: can't cast `org/apache/tools/ant/Main' 
(java/net/URLClassLoader at 0x833410c) to 
`org/apache/tools/ant/launch/AntMain' (kaffe/lang/AppClassLoader at 0x821bcec)
    at org.apache.tools.ant.launch.Launcher.run (Launcher.java:214)
    at org.apache.tools.ant.launch.Launcher.main (Launcher.java:90)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: kaffe.diff
Url: http://kaffe.org/pipermail/kaffe/attachments/20040107/140cee36/attachment-0002.txt 


More information about the kaffe mailing list