Errors when building jdbc dirver jar file - Mailing list pgsql-jdbc

From Grant Edwards
Subject Errors when building jdbc dirver jar file
Date
Msg-id BFC0534B2F32D411B41300508B557FAD02EA5D5B@lmnukex03.lastminute.com
Whole thread Raw
List pgsql-jdbc
Hi,

Need a bit of help please, some config stuff first followed by the error.
Any info will be greatly appreciated emails can be sent to
grant.edwards@btinternet.com or gedwards@lastminute.com

Regards

Grant Edwards


*    postgresql-7.1.3

*    java version "1.3.0_01"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0_01)
    Java HotSpot(TM) Client VM (build 1.3.0_01, mixed mode)

*    Ant version 1.3 compiled on March 2 2001

*    uname -a      ------>     Linux eve 2.2.16 #1 Wed Aug 2 20:22:26 GMT
2000 i686 unknown

*    JAVA_HOME=/usr/local/jdk1.3.0_01


And now for the error :

eve-/usr/local/postgresql-7.1.3> ant
Buildfile: build.xml

jar:

call:

prepare:

check_versions:

driver:
     [echo] Configured build for the JDBC2 edition driver.

compile:
    [javac] Compiling 52 source files to
/usr/local/postgresql-7.1.3/src/interfaces/jdbc/build
    [javac]
/usr/local/postgresql-7.1.3/src/interfaces/jdbc/org/postgresql/Driver.java:1
99: ';' expected
    [javac]     return ${major};
    [javac]             ^
    [javac]
/usr/local/postgresql-7.1.3/src/interfaces/jdbc/org/postgresql/Driver.java:2
09: ';' expected
    [javac]     return ${minor};
    [javac]             ^
    [javac]
/usr/local/postgresql-7.1.3/src/interfaces/jdbc/org/postgresql/Driver.java:1
99: cannot resolve symbol
    [javac] symbol  : variable $
    [javac] location: class org.postgresql.Driver
    [javac]     return ${major};
    [javac]            ^
    [javac]
/usr/local/postgresql-7.1.3/src/interfaces/jdbc/org/postgresql/Driver.java:2
09: 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/local/postgresql-7.1.3/src/interfaces/jdbc/build.xml:99: Compile
failed, messages should have been provided.

Total time: 8 seconds

>         App Developer / Informix DBA
>         address: 4 Buckingham Gate, London SW1E 6JP
>         tel: +44 (0)20 7802 4348   fax: +44 (0)20 7802 9420
>         email: gedwards@lastminute.com
> internet:http://www.lastminute.com/
>         do something lastminute.com
>
>


------------------------------

This e-mail is intended for the named addressee only.  It may contain confidential and/or privileged information.  If
youhave received this message in error, please let us know and then delete this message from your system.  You should
notcopy the message, use it for any purpose or disclose its contents to anyone. 

pgsql-jdbc by date:

Previous
From: Lora Goldston
Date:
Subject: driver fails to handle strings in query statements properly
Next
From: "C O'Connor"
Date:
Subject: why would an update only work if done twice?