db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew McIntyre" <mcintyr...@gmail.com>
Subject Re: Trouble building old derby trunk versions
Date Mon, 10 Sep 2007 20:29:47 GMT
On 9/10/07, Kathey Marsden <kmarsdenderby@sbcglobal.net> wrote:
> I am trying to build revision 485682:
>
> With ant.properties:
> jdk16=C:/p4/marsden_trunk/jdk16
> j14lib=C:/p4/marsden_trunk/jdk142/jre/lib
> j13lib=c:/p4/marsden_trunk/jdk131/jre/lib
> jsr169compile.classpath=C:/p4/marsden_trunk/wctme5.7/ive/lib/jclFoundation10/classes.zip;C:/p4/marsden_trunk/wctme5.7/ive/lib/jdbc.jar
> sane=false
>
> I get:
>
> compile_iapi_jdbc_jsr169:
>     [javac] Compiling 10 source files to C:\svn2\trunk\classes
>     [javac]
> C:\svn2\trunk\java\engine\org\apache\derby\impl\jdbc\EmbedConnection.java:94:
> org.apache.derby.impl.jdbc.Emb
> edConnection is not abstract and does not override abstract method
> releaseSavepoint(java.sql.Savepoint) in java.sql.Conn
> ection
>     [javac] public class EmbedConnection implements EngineConnection
>     [javac]        ^
>     [javac] 1 error

Looks like you have JDK 1.4 / JDBC 3.0 classes in the classpath, and
the build is expecting JDK 1.3 / JDBC 2.0 for this target.

What is your setting for compile.classpath? You could try setting it
equal to ${java13compile.classpath} in your ant.properties to see if
that gets the right classes into your classpath for this target.

HTH,
andrew

Mime
View raw message