|
3 | 3 | build file to allow ant (http://jakarta.apache.org/ant/) to be used
|
4 | 4 | to build the PostgreSQL JDBC Driver.
|
5 | 5 |
|
6 |
| - $Id: build.xml,v 1.15 2001/05/25 16:29:17 momjian Exp $ |
| 6 | + $Id: build.xml,v 1.16 2001/07/04 15:07:54 momjian Exp $ |
7 | 7 |
|
8 | 8 | -->
|
9 | 9 |
|
|
37 | 37 | -->
|
38 | 38 | <target name="check_versions">
|
39 | 39 | <available property="jdk1.2+" classname="java.lang.ThreadLocal" />
|
40 |
| - <available property="jdk1.3+" classname="java.lang.StrictMath" /> |
41 | 40 | <available property="jdk1.2e+" classname="javax.sql.DataSource" />
|
42 | 41 | <available property="junit" classname="junit.framework.Test" />
|
43 | 42 | </target>
|
|
58 | 57 | <property name="connectclass" value="org.postgresql.jdbc1.Connection" />
|
59 | 58 | <available property="connectclass" value="org.postgresql.jdbc2.Connection" classname="java.lang.ThreadLocal" />
|
60 | 59 |
|
61 |
| - <!-- comment out 1.3+ stuff --> |
62 |
| - <property name="jdk13only" value="//" /> |
63 |
| - <available property="jdk13only" value="" classname="java.lang.StrictMath" /> |
64 |
| - <filter token="JDK1.3ONLY" value="${jdk13only}" /> |
65 |
| - |
66 | 60 | <!-- Some defaults -->
|
67 | 61 | <filter token="MAJORVERSION" value="${major}" />
|
68 | 62 | <filter token="MINORVERSION" value="${minor}" />
|
|
104 | 98 | <target name="compile" depends="prepare,check_versions,driver">
|
105 | 99 | <javac srcdir="${src}" destdir="${dest}">
|
106 | 100 | <include name="${package}/**" />
|
107 |
| - <exclude name="${package}/core/ConnectionHook.java" unless="jdk1.3+" /> |
108 | 101 | <exclude name="${package}/jdbc1/**" if="jdk1.2+" />
|
109 | 102 | <exclude name="${package}/jdbc2/**" unless="jdk1.2+" />
|
110 | 103 | <exclude name="${package}/largeobject/PGblob.java" unless="jdk1.2+" />
|
|
0 commit comments