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
|
From: Markus Koschany <apo@debian.org>
Date: Wed, 22 Jun 2016 15:00:42 +0200
Subject: remove JDBC 4+ classes
Java 8 is not available in Debian's stable and oldstable distributions.
Do not compile JDBC 4+ classes that require it.
---
build.xml | 33 ---------------------------------
1 file changed, 33 deletions(-)
--- a/build.xml
+++ b/build.xml
@@ -901,25 +901,8 @@
<classpath refid="project.build.classpath" />
<compilerarg line="${javac.compilerarg}" />
</javac>
-
- <javac sourcepath=""
- srcdir="${buildDir}/${fullProdName}"
- destdir="${compiler.output}"
- deprecation="off"
- debug="${debug.enable}"
- fork="yes"
- executable="${com.mysql.jdbc.jdk8.javac}"
- compiler="modern"
- includeantruntime="false"
- source="1.8"
- target="1.8">
- <include name="**/JDBC42*.java" />
- <classpath refid="project.build.classpath" />
- <compilerarg line="${javac.compilerarg}" />
- </javac>
</target>
-
<!-- Compile the driver including JDBC 3 and JDBC 4+ implementations and JUnit test suite. -->
<target name="compile-testsuite"
description="Compiles driver including JDBC 3 and JDBC 4+ implementations and JUnit test suite."
@@ -960,22 +943,6 @@
<classpath refid="project.build.classpath" />
<compilerarg line="${javac.compilerarg}" />
</javac>
-
- <javac sourcepath=""
- srcdir="${buildDir}/${fullProdName}"
- destdir="${compiler.output}"
- deprecation="off"
- debug="${debug.enable}"
- fork="yes"
- executable="${com.mysql.jdbc.jdk8.javac}"
- compiler="modern"
- includeantruntime="false"
- source="1.8"
- target="1.8">
- <include name="testsuite/**/jdbc42/**" />
- <classpath refid="project.build.classpath" />
- <compilerarg line="${javac.compilerarg}" />
- </javac>
</target>
|