Thread
-
jdbc1 compile problem still present in beta5 (java 1.1.8/freebsd 4.2-STABLE)
Nat Howard <nrh@pupworks.com> — 2001-03-01T15:23:57Z
Also, there's one I don't remember involving PGclob.java -- perhaps it's new? This is with Java SDK 1.1.8 on freebsd uname -a: FreeBSD spot.pupworks.com 4.2-STABLE FreeBSD 4.2-STABLE #2: Sat Feb 17 15:53:06 EST 2001 nrh@spot.pupworks.com:/usr/obj/usr/src/sys/SPOT i386 Here's the result of "ant" in the top-level directory Searching for build.xml ... Buildfile: /usr/home/nrh/b5/postgresql-7.1beta5/build.xml jar: call: prepare: check_versions: driver: Configured build for the JDBC1 edition driver. compile: [javac] Compiling 2 source files to /usr/home/nrh/b5/postgresql-7.1beta5/src/interfaces/jdbc/build [javac] /usr/home/nrh/b5/postgresql-7.1beta5/src/interfaces/jdbc/org/postgresql/jdbc1/Statement.java:291: Missing term. [javac] if (result != null) && ((org.postgresql.ResultSet)result.reallyResultSet()) [javac] ^ [javac] /usr/home/nrh/b5/postgresql-7.1beta5/src/interfaces/jdbc/org/postgresql/jdbc1/Statement.java:291: Invalid expression statement. [javac] if (result != null) && ((org.postgresql.ResultSet)result.reallyResultSet()) [javac] ^ [javac] /usr/home/nrh/b5/postgresql-7.1beta5/src/interfaces/jdbc/org/postgresql/jdbc1/Statement.java:291: ';' expected. [javac] if (result != null) && ((org.postgresql.ResultSet)result.reallyResultSet()) [javac] ^ [javac] /usr/home/nrh/b5/postgresql-7.1beta5/src/interfaces/jdbc/org/postgresql/largeobject/PGclob.java:26: Interface java.sql.Clob of class org.postgresql.largeobject.PGclob not found. [javac] public class PGclob implements java.sql.Clob [javac] ^ [javac] 4 errors BUILD FAILED /usr/home/nrh/b5/postgresql-7.1beta5/src/interfaces/jdbc/build.xml:99: Compile failed, messages should have been provided. Total time: 4 seconds -
Re: jdbc1 compile problem still present in beta5 (java 1.1.8/freebsd 4.2-STABLE)
Peter T Mount <peter@retep.org.uk> — 2001-03-01T21:12:15Z
At 10:23 01/03/01 -0500, Nat Howard wrote: >Also, there's one I don't remember involving PGclob.java -- perhaps it's new? There's a few JDBC1.2/JDK1.1 problems in there, but I can't fix until I get JDK1.1.8 reinstalled here. PGclob is new for the JDBC2.x driver, so the build.xml file is missing an exclude tag for it with pre Java2 vm's. Work around: find the line excluding PGblob, duplicate it and replace blob with clob on one of those lines. That should fix the build problem. Peter >This is with Java SDK 1.1.8 on freebsd >uname -a: >FreeBSD spot.pupworks.com 4.2-STABLE FreeBSD 4.2-STABLE #2: Sat Feb 17 >15:53:06 EST 2001 nrh@spot.pupworks.com:/usr/obj/usr/src/sys/SPOT i386 > >Here's the result of "ant" in the top-level directory > >Searching for build.xml ... >Buildfile: /usr/home/nrh/b5/postgresql-7.1beta5/build.xml > >jar: > >call: > >prepare: > >check_versions: > >driver: >Configured build for the JDBC1 edition driver. > >compile: > [javac] Compiling 2 source files to > /usr/home/nrh/b5/postgresql-7.1beta5/src/interfaces/jdbc/build > [javac] > /usr/home/nrh/b5/postgresql-7.1beta5/src/interfaces/jdbc/org/postgresql/jdbc1/Statement.java:291: > Missing term. > [javac] if (result != null) && > ((org.postgresql.ResultSet)result.reallyResultSet()) > [javac] ^ > [javac] > /usr/home/nrh/b5/postgresql-7.1beta5/src/interfaces/jdbc/org/postgresql/jdbc1/Statement.java:291: > Invalid expression statement. > [javac] if (result != null) && > ((org.postgresql.ResultSet)result.reallyResultSet()) > [javac] ^ > [javac] > /usr/home/nrh/b5/postgresql-7.1beta5/src/interfaces/jdbc/org/postgresql/jdbc1/Statement.java:291: > ';' expected. > [javac] if (result != null) && > ((org.postgresql.ResultSet)result.reallyResultSet()) > [javac] > ^ > [javac] > /usr/home/nrh/b5/postgresql-7.1beta5/src/interfaces/jdbc/org/postgresql/largeobject/PGclob.java:26: > Interface java.sql.Clob of class org.postgresql.largeobject.PGclob not found. > [javac] public class PGclob implements java.sql.Clob > [javac] ^ > [javac] 4 errors > >BUILD FAILED > >/usr/home/nrh/b5/postgresql-7.1beta5/src/interfaces/jdbc/build.xml:99: >Compile failed, messages should have been provided. > >Total time: 4 seconds