rm -f src/nice/tools/compiler/console.jar nicepublish.jar regtest/*.jar
rm -rf classes classes-inline share/java src/bossa/parser/{Parse*.java,Token*.java,*CharStream.java}
rm -f bin/{nicedoc,niceunit}
if [ -r src/bossa/syntax/dispatch.java -a ! -r src/bossa/syntax/dispatch.java.bootstrap ]; then \
	mv src/bossa/syntax/dispatch.java src/bossa/syntax/dispatch.java.bootstrap; fi
rm -f src/bossa/syntax/dispatch.java
find . \( -name "*.class" -o -name "*.nicei" -o -name "*~" \) -exec rm {} \;
mkdir -p classes classes-inline
ln -sf nicec bin/nicedoc; ln -sf nicec bin/niceunit
cd src/bossa/syntax && mv -f dispatch.java.bootstrap dispatch.java
/usr/local/opt/j2sdk1.4.2/bin/javac -classpath "/home/yquem/cristal/bonniot/automated/tester/builds/Nice/classes:/home/yquem/cristal/bonniot/automated/tester/builds/Nice/classes.old" -sourcepath "/home/yquem/cristal/bonniot/automated/tester/builds/Nice/src:/home/yquem/cristal/bonniot/automated/tester/builds/Nice/stdlib" -O -g -d "/home/yquem/cristal/bonniot/automated/tester/builds/Nice/classes" src/nice/tools/util/System.java
CLASSPATH=classes JAVA="/usr/local/src/kaffe/install/bin/kaffe -Dnice.raw-traces=true -Xms64m -Xmx192m -Dnice.inlined=classes-inline" bin/nicec.bootstrap --exclude-runtime -d classes.old --sourcepath=stdlib.old:stdlib:src.old:src --classpath=classes -R nice.tools.repository
java.lang.ClassNotFoundException: nice.tools.compiler.console.dispatch not found in java.lang.ClassLoader$1{urls=[file:/home/yquem/cristal/bonniot/automated/tester/builds/Nice/external/nice-bootstrap.jar,file:/home/yquem/cristal/bonniot/automated/tester/builds/Nice/classes/], parent=null}
caused by: make: *** [core-bootstrap] Error 1


======================
Running Flow4j
======================

+ SOURCES=flow4j-src-latest.tar.gz
+ set -e
+ '[' 1.1.kaffe ']'
+ expr 1.1.kaffe '<' 1.4.0
+ echo 'JDK 1.4 needed for the Flow4j test. Skipping.'
JDK 1.4 needed for the Flow4j test. Skipping.
+ exit 8


======================
Running Regression
======================

Command exited with non-zero status 1
1.00user 0.23system 0:10.79elapsed 11%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (19452major+20104minor)pagefaults 0swaps
make: *** [test] Error 1
cd regtest; JAVA="java" /usr/bin/time ./regtest
Testing package "basic" (preparing...)(preparation FAILED)
make[1]: Entering directory `/home/yquem/cristal/bonniot/automated/tester/builds/Nice/regtest/basic'
CLASSPATH=/home/yquem/cristal/bonniot/automated/tester/builds/Nice/classes:; export CLASSPATH; \
javac Nop.java Fields.java
Nop.java:15: package gnu.expr does not exist
import gnu.expr.*;
^
Nop.java:16: package gnu.bytecode does not exist
import gnu.bytecode.*;
^
Nop.java:25: cannot resolve symbol
symbol  : class Procedure1  
location: package mapping
extends gnu.mapping.Procedure1 implements Inlineable
                   ^
Nop.java:25: cannot resolve symbol
symbol  : class Inlineable  
location: class regtest.basic.Nop
extends gnu.mapping.Procedure1 implements Inlineable
                                          ^
Nop.java:34: cannot resolve symbol
symbol  : class ApplyExp  
location: class regtest.basic.Nop
  public void compile (ApplyExp exp, Compilation comp, Target target)
                       ^
Nop.java:34: cannot resolve symbol
symbol  : class Compilation  
location: class regtest.basic.Nop
  public void compile (ApplyExp exp, Compilation comp, Target target)
                                     ^
Nop.java:34: cannot resolve symbol
symbol  : class Target  
location: class regtest.basic.Nop
  public void compile (ApplyExp exp, Compilation comp, Target target)
                                                       ^
Nop.java:39: cannot resolve symbol
symbol  : class Expression  
location: class regtest.basic.Nop
  public gnu.bytecode.Type getReturnType (Expression[] args)
                                          ^
Nop.java:39: cannot resolve symbol
symbol  : class Type  
location: package bytecode
  public gnu.bytecode.Type getReturnType (Expression[] args)
                     ^
9 errors
make[1]: *** [Nop.class] Error 1
make[1]: Leaving directory `/home/yquem/cristal/bonniot/automated/tester/builds/Nice/regtest/basic'
Skipping this package
Testing package "coreJava" (preparing...)



coreJava produced a compilation error
Compiler output is:

###############
java.lang.ClassNotFoundException: nice.tools.compiler.console.dispatch not found in java.lang.ClassLoader$1{urls=[file:/home/yquem/cristal/bonniot/automated/tester/builds/Nice/classes/,file:/home/yquem/cristal/bonniot/automated/tester/builds/Nice/classes.old,file:/home/yquem/cristal/bonniot/automated/tester/builds/Nice/share/java/nice.jar], parent=null}
caused by: ###############

2 packages, 0 OK, 1 compilation failures, 0 BROKEN, 0 NEW (0 accepted)
Testing package "java" (preparing...)(preparation FAILED)
make[1]: Entering directory `/home/yquem/cristal/bonniot/automated/tester/builds/Nice/regtest/java'
/home/yquem/cristal/bonniot/automated/tester/builds/Nice/bin/nicec -e --sourcepath "/home/yquem/cristal/bonniot/automated/tester/builds/Nice" regtest.java.A
java.lang.ClassNotFoundException: nice.tools.compiler.console.dispatch not found in java.lang.ClassLoader$1{urls=[file:/home/yquem/cristal/bonniot/automated/tester/builds/Nice/classes/,file:/home/yquem/cristal/bonniot/automated/tester/builds/Nice/classes.old,file:/home/yquem/cristal/bonniot/automated/tester/builds/Nice/share/java/nice.jar], parent=null}
caused by: make[1]: *** [A/In.class] Error 1
make[1]: Leaving directory `/home/yquem/cristal/bonniot/automated/tester/builds/Nice/regtest/java'
Skipping this package
Testing package "multipkg"



multipkg produced a compilation error
Compiler output is:

###############
java.lang.ClassNotFoundException: nice.tools.compiler.console.dispatch not found in java.lang.ClassLoader$1{urls=[file:/home/yquem/cristal/bonniot/automated/tester/builds/Nice/classes/,file:/home/yquem/cristal/bonniot/automated/tester/builds/Nice/classes.old,file:/home/yquem/cristal/bonniot/automated/tester/builds/Nice/share/java/nice.jar], parent=null}
caused by: ###############

4 packages, 0 OK, 2 compilation failures, 0 BROKEN, 0 NEW (0 accepted)


======================
Running Swing
======================

Buildfile: build.xml

BUILD FAILED
/home/yquem/cristal/bonniot/automated/tester/builds/swing/build.xml:11: taskdef class nice.tools.ant.Nicec cannot be found

Total time: 0 seconds


======================
Running Testsuite
======================

java.lang.ClassNotFoundException: nice.tools.testsuite.TestNice not found in java.lang.ClassLoader$1{urls=[file:/home/yquem/cristal/bonniot/automated/tester/builds/Nice/classes/], parent=null}
caused by: Command exited with non-zero status 1
0.17user 0.01system 0:00.47elapsed 37%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (982major+4508minor)pagefaults 0swaps
make: *** [check] Error 1
/usr/bin/time /usr/local/src/kaffe/install/bin/kaffe -Dnice.raw-traces=true -Xms64m -Xmx192m -Xms64M -classpath "classes" nice.tools.testsuite.TestNice testsuite


======================
Running gcj
======================