Finally created ant build.xml file
authorPeter Mount
Tue, 19 Dec 2000 17:33:39 +0000 (17:33 +0000)
committerPeter Mount
Tue, 19 Dec 2000 17:33:39 +0000 (17:33 +0000)
src/interfaces/jdbc/CHANGELOG
src/interfaces/jdbc/build.xml [new file with mode: 0644]
src/interfaces/jdbc/utils/CheckVersion.java

index 6d99f9c23885d634aed3d10e6e27b828c812cd1d..976efe17348d91a2671df50175d4e674af8c735b 100644 (file)
@@ -1,3 +1,6 @@
+Tue Dec 19 17:30:00 GMT 2000 [email protected]
+   - Finally created ant build.xml file
+
 Mon Nov 20 08:12:00 GMT 2000 [email protected]
    - Encoding patch to Connection by [email protected]
 
diff --git a/src/interfaces/jdbc/build.xml b/src/interfaces/jdbc/build.xml
new file mode 100644 (file)
index 0000000..b60f2bd
--- /dev/null
@@ -0,0 +1,59 @@
+
+
+
+  
+  
+  
+  
+  
+  
+  
+  
+  
+    
+    
+    
+    
+    
+  
+  
+  
+    
+  
+  
+  
+  
+    
+      
+      
+      
+      
+      
+      
+    
+    
+      
+        
+      
+    
+  
+  
+  
+    
+  
+  
+
\ No newline at end of file
index b82ba335fd37c81135f131a45c7a73c6e4ee08fe..8832543e7253556c08086c6655ee515cfceab53b 100644 (file)
@@ -41,12 +41,14 @@ public class CheckVersion
     {
    String vmversion = System.getProperty("java.vm.version");
    
+   System.out.println("postgresql.jdbc="+System.getProperty("postgresql.jdbc"));
+   
    // We are running a 1.1 JVM
    if(vmversion.startsWith("1.1")) {
        System.out.println("jdbc1");
-       System.exit(0);
+       //System.exit(0);
    }
-   
+   else
    // We are running a 1.2 or 1.3 JVM
    if(vmversion.startsWith("1.2") ||
       vmversion.startsWith("1.3") ||
@@ -59,10 +61,8 @@ public class CheckVersion
        System.out.println("enterprise");
        else
        System.out.println("jdbc2");
-       System.exit(0);
+       //System.exit(0);
    }
-   
-   System.out.println("huho");
-   System.exit(0);
+   System.setProperty("postgresql.jdbc","yoyo");
     }
 }