diff options
author | Peter Mount <peter@retep.org.uk> | 1999-09-14 05:50:44 +0000 |
---|---|---|
committer | Peter Mount <peter@retep.org.uk> | 1999-09-14 05:50:44 +0000 |
commit | 24c82830cf8e7cc6d378c622ef1028937a4ee488 (patch) | |
tree | 7850bdf877e854d555422f705cc42830ddba9611 /src/interfaces/jdbc/makeVersion.java | |
parent | 4197aaa8ae50410cce73fef871b6c5740b705f0c (diff) | |
download | postgresql-24c82830cf8e7cc6d378c622ef1028937a4ee488.tar.gz postgresql-24c82830cf8e7cc6d378c622ef1028937a4ee488.zip |
Patches for 6.5.2
Diffstat (limited to 'src/interfaces/jdbc/makeVersion.java')
-rw-r--r-- | src/interfaces/jdbc/makeVersion.java | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/src/interfaces/jdbc/makeVersion.java b/src/interfaces/jdbc/makeVersion.java deleted file mode 100644 index 3badfa9354c..00000000000 --- a/src/interfaces/jdbc/makeVersion.java +++ /dev/null @@ -1,30 +0,0 @@ -/** - * This class is used by the makefile to determine which version of the - * JDK is currently in use, and if it's using JDK1.1.x then it returns JDBC1 - * and if later, it returns JDBC2 - * - * $Id: makeVersion.java,v 1.1 1999/01/17 04:51:49 momjian Exp $ - */ -public class makeVersion -{ - public static void main(String[] args) { - String key = "java.version"; - String version = System.getProperty(key); - - //System.out.println(key+" = \""+version+"\""); - - // Tip: use print not println here as println breaks the make that - // comes with CygWin-B20.1 - - if(version.startsWith("1.0")) { - // This will trigger the unknown rule in the makefile - System.out.print("jdbc0"); - } else if(version.startsWith("1.1")) { - // This will trigger the building of the JDBC 1 driver - System.out.print("jdbc1"); - } else { - // This will trigger the building of the JDBC 2 driver - System.out.print("jdbc2"); - } - } -} |