Errors when building jdbc dirver jar file

From: Grant Edwards <gedwards(at)Lastminute(dot)com>
To: "'pgsql-jdbc(at)postgresql(dot)org'" <pgsql-jdbc(at)postgresql(dot)org>
Cc: "'grant(dot)edwards(at)btinternet(dot)com'" <grant(dot)edwards(at)btinternet(dot)com>
Subject: Errors when building jdbc dirver jar file
Date: 2001-10-02 11:44:22
Message-ID: BFC0534B2F32D411B41300508B557FAD02EA5D5B@lmnukex03.lastminute.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)edwards(at)btinternet(dot)com or gedwards(at)lastminute(dot)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(at)lastminute(dot)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 you have received this message in error, please let us know and then delete this message from your system. You should not copy the message, use it for any purpose or disclose its contents to anyone.

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Ray Tomlinson 2001-10-02 12:02:27 jdbc download jar is corrupted
Previous Message Denis Bucher 2001-10-02 10:14:35 Re: Accents bug ?