From: | Rolf Schillinger <rolf(at)sir-wum(dot)de> |
---|---|
To: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | Bug-report (was: JDBC driver in pgsql 7.1 build problem) |
Date: | 2001-05-03 21:48:34 |
Message-ID: | Pine.GSO.4.21.0105032340590.11202-100000@rrzc3.rz.uni-regensburg.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
Hi again,
it`s now offical, I found a bug in JDBC driver in pgsql 7.1 ;)
I had the following problems:
/usr/local/jakarta-ant-1.3/bin//ant -buildfile ../../../build.xml
-Dmajor=7 -Dminor=1 -Dfullversion=7.1 -Ddef_pgport=5432
Buildfile: ../../../build.xml
jar:
call:
prepare:
check_versions:
driver:
[echo] Configured build for the JDBC2 edition driver.
compile:
[javac] Compiling 41 source files to
/usr/src/postgresql-7.1/src/interfaces/jdbc/build
[javac]
/usr/src/postgresql-7.1/src/interfaces/jdbc/org/postgresql/Driver.java:199: ';'
expected
[javac] return ${major};
[javac] ^
[javac]
/usr/src/postgresql-7.1/src/interfaces/jdbc/org/postgresql/Driver.java:209: ';'
expected
[javac] return ${minor};
[javac] ^
[javac]
/usr/src/postgresql-7.1/src/interfaces/jdbc/org/postgresql/Driver.java:199: cannot
resolve symbol
[javac] symbol : variable $
[javac] location: class org.postgresql.Driver
[javac] return ${major};
[javac] ^
[javac]
/usr/src/postgresql-7.1/src/interfaces/jdbc/org/postgresql/Driver.java:209: cannot
resolve symbol
[javac] symbol : variable $
[javac] location: class org.postgresql.Driver
[javac] return ${minor};
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -deprecation for details.
[javac] 4 errors
BUILD FAILED
/usr/src/postgresql-7.1/src/interfaces/jdbc/build.xml:99: Compile failed,
messages should have been provided.
Total time: 9 seconds
make: *** [all] Error 1
when using
JDK:
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build
Blackdown-1.3.0-RC1)
Java HotSpot(TM) Client VM (build Blackdown-1.3.0-RC1, mixed mode)
Ant:
Ant version 1.3 compiled on March 2 2001
Postgresql:
As stated above: 7.1
the following patch by Marko Kreen <marko(at)l-t(dot)ee> solved that problem:
http://www.l-t.ee/marko/pgsql/ant12.diff
Again thanks for all the help on this friendly list :)
bis bald, Rolf
From | Date | Subject | |
---|---|---|---|
Next Message | Barry Lind | 2001-05-03 23:59:22 | Re: A bug with pgsql 7.1/jdbc and non-ascii (8-bit) chars? |
Previous Message | Mike D'Agosta | 2001-05-03 20:34:23 | Updateable ResultSet |