JDBC driver in pgsql 7.1 build problem - Mailing list pgsql-jdbc

From Rolf Schillinger
Subject JDBC driver in pgsql 7.1 build problem
Date
Msg-id Pine.GSO.4.21.0105031131050.9455-100000@rrzc3.rz.uni-regensburg.de
Whole thread Raw
Responses Re: JDBC driver in pgsql 7.1 build problem
List pgsql-jdbc
Hi,
I have strange problems trying to build the JDBC driver for postgresql
7.1:
/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

Any help would be greatly appreciated
bis bald, Rolf


pgsql-jdbc by date:

Previous
From: Tom Lane
Date:
Subject: Re: Unable to store SHA hash (Non-HTML--Sorry)
Next
From: Marko Kreen
Date:
Subject: Re: JDBC driver in pgsql 7.1 build problem