Project

General

Profile

Actions

Bug #3128

closed

Kepler devel tree can't be compiled in java 1.6.0: DBConnection problem

Added by Jing Tao about 16 years ago. Updated about 15 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
build system
Target version:
Start date:
02/05/2008
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
3128

Description

Christopher Brooks reported he couldn't compile the src code -

When I run:
export KEPLER=c:/Kepler/kepler-1.0.0rc1
cd $KEPLER
export PTII=c:/tmp/cxh/ptII
ant ptolemy
ant run

I get:

compile:
[javac] Compiling 752 source files to
c:\Kepler\kepler-1.0.0rc1\build\classes
[javac]
c:\Kepler\kepler-1.0.0rc1\build\src\org\ecoinformatics\util\DBConnection.java:61:
org.ecoinformatics.util.DBConnection
is not abstract and does not override abstract method createSQLXML()
in java.sql.Connection
[javac] public class DBConnection implements Connection {
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 error

Christopher was running
JDK 1.6.0_04

I repeated above steps.

It worked if i used jdk1.5.0_11

However, if I used jdk1.6.0_04, i got an error which is as same as Christopher reported:

compile-dev:
[javac] Compiling 752 source files to /home/tao/Kepler/build/classes
[javac] /home/tao/Kepler/build/src/org/ecoinformatics/util/DBConnection.java:61: org.ecoinformatics.util.DBConnection is not abstract and does not override abstract method createSQLXML() in java.sql.Connection
[javac] public class DBConnection implements Connection {
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 error

When I ran above tests, kepler src is Kepler 1.0.0rc1 and ptomely src is rel-7-0-beta-2 tag.

Actions

Also available in: Atom PDF