Andrew McIntyre wrote:
On 9/10/07, Kathey Marsden <[EMAIL PROTECTED]> 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.


Adding
compile.classpath=${java13compile.classpath}

to my ant.properties seems to make no difference.

I did not have compile.classpath set in my ant.properties before.
Kathey




Reply via email to