Hi all,
I think that my build environment is not quite happy with the
recent changes to the Derby build scripts.
I've pasted the tail of the output from 'ant all' below; can
some eagle-eyed soul spot what's wrong and suggest what I
need to do to fix things?
thanks,
bryan
printCompilerProperties:
[setJdkProperties] Setting property java14compile.classpath to
/usr/local/lib/j2sdk1.4.2_06/jre/lib/charsets.jar:/usr/local/lib/j2sdk1.4.2_06/jre/lib/jce.jar:/usr/local/lib/j2sdk1.4.2_06/jre/lib/jsse.jar:/usr/local/lib/j2sdk1.4.2_06/jre/lib/plugin.jar:/usr/local/lib/j2sdk1.4.2_06/jre/lib/rt.jar:/usr/local/lib/j2sdk1.4.2_06/jre/lib/sunrsasign.jar
[setJdkProperties] Setting property java14compile.classpath to
/usr/local/lib/j2sdk1.4.2_06/jre/lib/charsets.jar:/usr/local/lib/j2sdk1.4.2_06/jre/lib/jce.jar:/usr/local/lib/j2sdk1.4.2_06/jre/lib/jsse.jar:/usr/local/lib/j2sdk1.4.2_06/jre/lib/plugin.jar:/usr/local/lib/j2sdk1.4.2_06/jre/lib/rt.jar:/usr/local/lib/j2sdk1.4.2_06/jre/lib/sunrsasign.jar
[setJdkProperties] Setting property java15compile.classpath to
/usr/local/lib/jdk1.5.0_05/jre/lib/charsets.jar:/usr/local/lib/jdk1.5.0_05/jre/lib/deploy.jar:/usr/local/lib/jdk1.5.0_05/jre/lib/javaws.jar:/usr/local/lib/jdk1.5.0_05/jre/lib/jce.jar:/usr/local/lib/jdk1.5.0_05/jre/lib/jsse.jar:/usr/local/lib/jdk1.5.0_05/jre/lib/plugin.jar:/usr/local/lib/jdk1.5.0_05/jre/lib/rt.jar
[setJdkProperties] Setting property java16compile.classpath to
/usr/local/lib/jdk1.6.0b73/jre/lib/charsets.jar:/usr/local/lib/jdk1.6.0b73/jre/lib/deploy.jar:/usr/local/lib/jdk1.6.0b73/jre/lib/javaws.jar:/usr/local/lib/jdk1.6.0b73/jre/lib/jce.jar:/usr/local/lib/jdk1.6.0b73/jre/lib/jsse.jar:/usr/local/lib/jdk1.6.0b73/jre/lib/management-agent.jar:/usr/local/lib/jdk1.6.0b73/jre/lib/plugin.jar:/usr/local/lib/jdk1.6.0b73/jre/lib/resources.jar:/usr/local/lib/jdk1.6.0b73/jre/lib/rt.jar
printCompilerProperties:
jsr169stubs:
[mkdir] Created dir: /home2/bpendleton/src/derby/work/trunk/classes/stubs
[mkdir] Created dir:
/home2/bpendleton/src/derby/work/trunk/classes/stubs/jsr169
[javac] Compiling 26 source files to
/home2/bpendleton/src/derby/work/trunk/classes/stubs/jsr169
jdbc3stubs:
[mkdir] Created dir:
/home2/bpendleton/src/derby/work/trunk/classes/stubs/jdbc3
[javac] Compiling 43 source files to
/home2/bpendleton/src/derby/work/trunk/classes/stubs/jdbc3
jdbc4stubs:
[mkdir] Created dir:
/home2/bpendleton/src/derby/work/trunk/classes/stubs/jdbc4
[javac] Compiling 93 source files to
/home2/bpendleton/src/derby/work/trunk/classes/stubs/jdbc4
[javac]
/home2/bpendleton/src/derby/work/trunk/java/stubs/jdbc4/java/sql/Array.java:20:
cannot access java.util.Map
[javac] bad class file:
/usr/local/lib/jdk1.6.0b73/jre/lib/rt.jar(java/util/Map.class)
[javac] class file has wrong version 50.0, should be 49.0
[javac] Please remove or make sure it appears in the correct subdirectory
of the classpath.
[javac] import java.util.Map;
[javac] ^
[javac] 1 error
BUILD FAILED
/home2/bpendleton/src/derby/work/trunk/build.xml:695: Compile failed; see the
compiler error output for details.