The following bug has been logged online:

Bug reference:      1141
Logged by:          Christoph Lembeck

Email address:      [EMAIL PROTECTED]

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 [EMAIL PROTECTED]

Reply via email to