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@l-t.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