summaryrefslogtreecommitdiff
blob: 2edd340e75025c38365267c3d93b5e85f0d8641b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
--- build/compile.xml	2006-10-19 18:07:58.000000000 +0200
+++ build/compile.xml	2006-10-19 18:17:17.000000000 +0200
@@ -13,11 +13,12 @@
     <ant antfile="build_native.xml"/>
   </target>
  
-  <target name="compile-examples">
+  <target name="compile-examples" if="examples">
   	<mkdir dir="${build.examples}"/>
     <javac srcdir="${source.examples}"
            destdir="${build.examples}"
-           target="${ant.java.version}"
+		   source="1.4"
+		   target="1.4"
            debug="on"
            deprecation="on"
            optimize="on"
@@ -40,25 +41,25 @@
     </path>
   </target>
 
-  <target name="set-wire1.3-src" if="jdk1.3">
+  <target name="set-wire1.3-src" if="never">
     <path id="source.java.wire">
       <pathelement path="${source.wire1.3}"/>
     </path>
   </target>
 
-  <target name="set-wire1.4-src" unless="jdk1.3">
+  <target name="set-wire1.4-src">
     <path id="source.java.wire">
       <pathelement path="${source.wire1.4}"/>
     </path>
   </target>
 
-  <target name="set-pool1.4-src" unless="jdk1.5">
+  <target name="set-pool1.4-src">
     <path id="source.java.pool">
       <pathelement path="${source.pool1.4}"/>
     </path>
   </target>
 
-  <target name="set-pool1.5-src" if="jdk1.5">
+  <target name="set-pool1.5-src" if="never">
     <path id="source.java.pool">
       <pathelement path="${source.pool1.5}"/>
     </path>
@@ -67,7 +68,8 @@
   <target name="compile-driver" depends="set-jdbc-20-src,set-jdbc-30-src,set-wire1.3-src,set-wire1.4-src">
     <mkdir dir="${build.classes}"/>
     <javac destdir="${build.classes}"
-           target="${ant.java.version}"
+		   source="1.4"
+		   target="1.4"
            debug="on"
            deprecation="on"
            optimize="on"
@@ -85,7 +87,8 @@
     <mkdir dir="${build.pool}"/>
     <javac srcdir="${source.pool}"
            destdir="${build.pool}"
-           target="${ant.java.version}"
+		   source="1.4"
+		   target="1.4"
            debug="on"
            deprecation="on"
            optimize="on"
@@ -101,7 +104,8 @@
   	<mkdir dir="${build.compatibility}"/>
     <javac srcdir="${source.compatibility}"
            destdir="${build.compatibility}"
-           target="${ant.java.version}"
+		   source="1.4"
+		   target="1.4"
            debug="on"
            deprecation="on"
            optimize="on"
@@ -121,11 +125,12 @@
     </path>
   </target>
 
-  <target name="compile-tests" depends="compile-pool,set-jdbc-20-test,set-jdbc-30-test">
+  <target name="compile-tests" depends="compile-pool,set-jdbc-20-test,set-jdbc-30-test" if="tests">
     <mkdir dir="${build.test}"/>
     <javac srcdir="${source.test}"
            destdir="${build.test}"
-           target="${ant.java.version}"
+		   source="1.4"
+		   target="1.4"
            debug="on"
            deprecation="on"
            optimize="on"