From: | "PostgreSQL Bugs List" <pgsql-bugs(at)postgresql(dot)org> |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | BUG #1141: jdbc-ant-script does not support java version 1.5 |
Date: | 2004-04-25 09:40:36 |
Message-ID: | 20040425094036.B7EADCF51C0@www.postgresql.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
The following bug has been logged online:
Bug reference: 1141
Logged by: Christoph Lembeck
Email address: chle4(at)wi(dot)uni-muenster(dot)de
PostgreSQL version: 7.4
Operating system: SuSE Linux 9.0
Description: jdbc-ant-script does not support java version 1.5
Details:
The ant-script build.xml tries to find out which Java version is used during
the installation of the database and uses this information to generate
Drivers for jdbc1, jdbc2 or jdbc3. Unfortunately the build script only knows
the Java-Versions 1.1 to 1.4, but not the new Java Version 1.5.
Using Java 1.5 together with the original build.xml file leads to the
problem, that none of the variables jdbc1, jdbc2 and jdbc3 will be set by
Ant and so the variable ${connectclass} will be unknown during the
generation of the file Driver.java. This leads to the problem that this
variable will not be replaced by ant and the string ${connectclass} will be
used in the Driver.java file instead of any real classname and the
compilation of the class will lead to an error message.
Checking wheter the user runns the ant script with the Java-Version 1.4 or
1.5 to force the script to generate JDBC 3 drivers will solve the problem...
From | Date | Subject | |
---|---|---|---|
Next Message | Kris Jurka | 2004-04-26 08:43:22 | Re: BUG #1141: jdbc-ant-script does not support java version |
Previous Message | Helvio Hild | 2004-04-24 16:57:37 | Killing the backends |