> > > in other words, it won't build on my machine any more, I'm running
> > > RH7.3 with JDK 1.4.0_01 (this being what I have in /stardev).
>
> further to Peter's comments - I have 1.4.1_02 in my stardev, so
> you probably want a stardev update.
Okay, looks like Steve has shipped me a new /stardev
dastardly{aa}: /stardev/java/jre/bin/java -version
java version "1.4.1_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_02-b06)
Java HotSpot(TM) Client VM (build 1.4.1_02-b06, mixed mode)
dastardly{aa}:
and the build now falls over in a much nicer way, but still fails...
build:
[echo] Executing JNIAST target: build
prepare:
check_packages:
get_ast_source:
[untar] Expanding:
/work/starlink/java/source/jniast/src/ast/ast_source.tar into
/work/starlink/java/source/jniast/build/ast
assemble_java:
build_classes:
[mkdir] Created dir: /work/starlink/java/source/jniast/build/classes
[javac] Compiling 44 source files to /work/starlink/java/source/jniast/build/classes
[javac] /work/starlink/java/source/jniast/build/java/uk/ac/starlink/ast/xml/XAstReader.java:11: cannot access uk.ac.starlink.ast.AstException
[javac] bad class file:
/work/starlink/java/source/jniast/build/java/uk/ac/starlink/ast/AstException.java
[javac] file does not contain class uk.ac.starlink.ast.AstException
[javac] Please remove or make sure it appears in the correct subdirectory of the classpath.
[javac] import uk.ac.starlink.ast.AstException;
[javac] ^
[javac] 1 error
BUILD FAILED
file:/work/starlink/java/source/jniast/build.xml:428: Compile failed; see
the compiler error output for details.
Total time: 6 seconds
dastardly{aa}:
Anyone know whats going on here, sure enough, when I checked,
/work/starlink/java/source/jniast/build/java/uk/ac/starlink/ast/AstException.java
seems to be an empty file!!!
Cheers,
Al.
|