7.1beta4 problem on freebsd 4.2 with JSDK 1.1.8.

Поиск
Список
Период
Сортировка
От Nat Howard
Тема 7.1beta4 problem on freebsd 4.2 with JSDK 1.1.8.
Дата
Msg-id 200102070446.f174krV13934@spot.pupworks.com
обсуждение исходный текст
Список pgsql-bugs
FreeBSD spot.pupworks.com 4.2-STABLE FreeBSD 4.2-STABLE #1: Sat Feb  3 15:45:14 EST 2001
nrh@spot.pupworks.com:/usr/obj/usr/src/sys/SPOT i386 

Using java SDK 1.1.8, which is the current "real" java in the
freebsd ports tree, one can't compile the jdbc driver.  The Implementation
file mentions that "ant" has not been tested with 1.1.X, and suggests
that the deprecated makefile will work.

The errors below are from a java file, and occur whether one uses
"gmake jdbc1" or "ant" to attempt to build the driver.


spot% ant
Searching for build.xml ...
Buildfile: /usr/home/nrh/postgresql/postgresql-7.1beta4/build.xml

jar:

call:

prepare:

check_versions:

driver:
Configured build for the JDBC1 edition driver.

compile:
    [javac] Compiling 1 source file to /usr/home/nrh/postgresql/postgresql-7.1beta4/src/interfaces/jdbc/build
    [javac] /usr/home/nrh/postgresql/postgresql-7.1beta4/src/interfaces/jdbc/org/postgresql/jdbc1/Statement.java:284:
Missingterm. 
    [javac]           if (result != null) && ((org.postgresql.ResultSet)result.reallyResultSet())
    [javac]                              ^
    [javac] /usr/home/nrh/postgresql/postgresql-7.1beta4/src/interfaces/jdbc/org/postgresql/jdbc1/Statement.java:284:
Invalidexpression statement. 
    [javac]           if (result != null) && ((org.postgresql.ResultSet)result.reallyResultSet())
    [javac]                               ^
    [javac] /usr/home/nrh/postgresql/postgresql-7.1beta4/src/interfaces/jdbc/org/postgresql/jdbc1/Statement.java:284:
';'expected. 
    [javac]           if (result != null) && ((org.postgresql.ResultSet)result.reallyResultSet())
    [javac]                                                                                      ^
    [javac] 3 errors

BUILD FAILED

/usr/home/nrh/postgresql/postgresql-7.1beta4/src/interfaces/jdbc/build.xml:82: Compile failed, messages should have
beenprovided. 

Total time: 4 seconds

В списке pgsql-bugs по дате отправления:

Предыдущее
От: "Ian deSouza"
Дата:
Сообщение: Problem when calling setObject on Timestamp column with JDBC driver
Следующее
От: Jered Floyd
Дата:
Сообщение: JDBC driver throws unfriendly exceptions