BUG #1141: jdbc-ant-script does not support java version 1.5
От | PostgreSQL Bugs List |
---|---|
Тема | BUG #1141: jdbc-ant-script does not support java version 1.5 |
Дата | |
Msg-id | 20040425094036.B7EADCF51C0@www.postgresql.com обсуждение исходный текст |
Ответы |
Re: BUG #1141: jdbc-ant-script does not support java version
|
Список | pgsql-bugs |
The following bug has been logged online: Bug reference: 1141 Logged by: Christoph Lembeck Email address: chle4@wi.uni-muenster.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...
В списке pgsql-bugs по дате отправления: