mirror of
https://github.com/postgres/postgres.git
synced 2025-06-17 17:02:08 +03:00
Finished build.xml and updated Driver.java.in and buildDriver to match how Makefile and ANT operate.
This commit is contained in:
@ -114,7 +114,7 @@ public class Driver implements java.sql.Driver
|
||||
return null;
|
||||
|
||||
try {
|
||||
org.postgresql.Connection con = (org.postgresql.Connection)(Class.forName("%JDBCCONNECTCLASS%").newInstance());
|
||||
org.postgresql.Connection con = (org.postgresql.Connection)(Class.forName("@JDBCCONNECTCLASS@").newInstance());
|
||||
con.openConnection (host(), port(), props, database(), url, this);
|
||||
return (java.sql.Connection)con;
|
||||
} catch(ClassNotFoundException ex) {
|
||||
@ -192,7 +192,7 @@ public class Driver implements java.sql.Driver
|
||||
*/
|
||||
public int getMajorVersion()
|
||||
{
|
||||
return %MAJORVERSION%;
|
||||
return @MAJORVERSION@;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -202,7 +202,7 @@ public class Driver implements java.sql.Driver
|
||||
*/
|
||||
public int getMinorVersion()
|
||||
{
|
||||
return %MINORVERSION%;
|
||||
return @MINORVERSION@;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -210,7 +210,7 @@ public class Driver implements java.sql.Driver
|
||||
*/
|
||||
public static String getVersion()
|
||||
{
|
||||
return "%VERSION%";
|
||||
return "@VERSION@";
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user