hi,
at the moment I'm trying to compile derby, but for some reasons it doesn't
work.
The output of ant is:
Buildfile: build.xml
init:
[mkdir] Created dir: /home/richi/temp/db-derby-10.2.2.0-src/classes
ensuresanitystate:
setissane:
showenv:
[echo]
[echo] Ant environment:
[echo] Base Directory: /home/richi/temp/db-derby-10.2.2.0-src
[echo] Build output: /home/richi/temp/db-derby-10.2.2.0-src/classes
[echo] Compiler: modern
[echo] Sane = false
[echo] Proceed = no
[echo]
getstate:
state:
shared:
compile:
[javac] Compiling 11 source files to
/home/richi/temp/db-derby-10.2.2.0-src/classes
[javac] Compiling 1 source file to
/home/richi/temp/db-derby-10.2.2.0-src/classes
shared:
parsers:
parser:
chkparser:
genParser:
chkparser:
genParser:
parser:
chkparser:
genParser:
engine:
engine_169:
compile_reference:
[javac] Compiling 11 source files to
/home/richi/temp/db-derby-10.2.2.0-src/classes
[javac] Compiling 2 source files to
/home/richi/temp/db-derby-10.2.2.0-src/classes
compile_authentication:
[javac] Compiling 1 source file to
/home/richi/temp/db-derby-10.2.2.0-src/classes
authentication:
compile_io:
[javac] Compiling 4 source files to
/home/richi/temp/db-derby-10.2.2.0-src/classes
storage:
compile_iapi_error_jsr169:
compile_reference:
[javac] Compiling 4 source files to
/home/richi/temp/db-derby-10.2.2.0-src/classes
compile_util:
compile_types:
[javac] Compiling 1 source file to
/home/richi/temp/db-derby-10.2.2.0-src/classes
[javac] Compiling 5 source files to
/home/richi/temp/db-derby-10.2.2.0-src/classes
[javac] Compiling 2 source files to
/home/richi/temp/db-derby-10.2.2.0-src/classes
compile_iapi_services_jsr169:
[javac] Compiling 26 source files to
/home/richi/temp/db-derby-10.2.2.0-src/classes
compile_iapi_services_io:
[javac] Compiling 5 source files to
/home/richi/temp/db-derby-10.2.2.0-src/classes
compile_iapi_store_jsr169:
[javac] Compiling 16 source files to
/home/richi/temp/db-derby-10.2.2.0-src/classes
compile_iapi_sql_jsr169:
compile_iapi_db:
[javac] Compiling 6 source files to
/home/richi/temp/db-derby-10.2.2.0-src/classes
compile_iapi_jdbc_jsr169:
[javac] Compiling 10 source files to
/home/richi/temp/db-derby-10.2.2.0-src/classes
[javac]
/home/richi/temp/db-derby-10.2.2.0-src/java/engine/org/apache/derby/impl/jdbc/EmbedConnection.java:94:
org.apache.derby.impl.jdbc.EmbedConnection is not abstract and does not
override abstract method setSavepoint(java.lang.String) in java.sql.Connection
[javac] public class EmbedConnection implements EngineConnection
[javac] ^
[javac] 1 error
BUILD FAILED
/home/richi/temp/db-derby-10.2.2.0-src/build.xml:333: The following error
occurred while executing this line:
/home/richi/temp/db-derby-10.2.2.0-src/java/engine/build.xml:77: The following
error occurred while executing this line:
/home/richi/temp/db-derby-10.2.2.0-src/java/engine/org/apache/derby/iapi/build.xml:70:
The following error occurred while executing this line:
/home/richi/temp/db-derby-10.2.2.0-src/java/engine/org/apache/derby/iapi/jdbc/build.xml:55:
Compile failed; see the compiler error output for details.
Total time: 8 seconds
my ~/ant.properties is:
j13lib=/home/richi/programms/jdk1.3/jre/lib
j14lib=/home/richi/programms/jdk1.4/jre/lib
jdk16=/home/richi/programms/jdk1.6
My default jdk is the 1.4 one.
/home/richi/programms/jdk1.3/bin/java -version gives:
java version "1.3.1_20"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_20-b03)
Java HotSpot(TM) Client VM (build 1.3.1_20-b03, mixed mode)
and /home/richi/programms/jdk1.4/bin/java -version gives:
java version "1.4.2_14"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_14-b05)
Java HotSpot(TM) Client VM (build 1.4.2_14-b05, mixed mode)
Since I am in Austria i don't have access to the jce of sun, so i got to use the
one from bouncycastle.org. The content of my ${derby.src}/tools/java is:
bcmail-jdk13-136.jar
bcpg-jdk13-136.jar
bcprov-jdk13-136.jar
bctsp-jdk13-136.jar
empty.jar
geronimo-spec-jta-1.0.1B-rc4.jar
geronimo-spec-servlet-2.4-rc4.jar
jakarta-oro-2.0.8.jar
javacc.jar
jce-jdk13-136.jar
jdbc2_0-stdext.jar
xercesImpl.jar
xml-apis.jar
The build process stopps at a jsr169 task, but i don't have the
jsr169compile.classpath property set, so i don't know, why it runs in such a
taks.
Could anyone help me please or point me in the direction how to get the
compilation working?
bye
richi