dbTalk Databases Forums  

[BUGS] BUG #1141: jdbc-ant-script does not support java version 1.5

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] BUG #1141: jdbc-ant-script does not support java version 1.5 in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
PostgreSQL Bugs List
 
Posts: n/a

Default [BUGS] BUG #1141: jdbc-ant-script does not support java version 1.5 - 04-25-2004 , 04:47 AM







The following bug has been logged online:

Bug reference: 1141
Logged by: Christoph Lembeck

Email address: chle4 (AT) wi (DOT) 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...


---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo (AT) postgresql (DOT) org

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.