mysql-connector-java/mysql-connector-java-java14compat.patch

59 lines
1.8 KiB
Diff

diff -Naur ../mysql-connector-java-3.1.12.orig/build.xml ./build.xml
--- ../mysql-connector-java-3.1.12.orig/build.xml 2005-12-01 03:02:01.000000000 +0100
+++ ./build.xml 2006-09-27 15:39:20.000000000 +0200
@@ -536,7 +536,9 @@
debug="${debug.enable}"
excludes="testsuite/**,
com/mysql/jdbc/integration/**,
- com/mysql/jdbc/log/Log4JLogger.java">
+ com/mysql/jdbc/log/Log4JLogger.java"
+ source="1.4"
+ target="1.4" >
<classpath refid="project.build.classpath" />
</javac>
</target>
@@ -578,7 +580,9 @@
destdir="${buildDir}/${fullProdName}"
deprecation="off"
debug="${debug.enable}"
- includes="com/mysql/jdbc/integration/c3p0/**">
+ includes="com/mysql/jdbc/integration/c3p0/**"
+ source="1.4"
+ target="1.4" >
<classpath refid="project.build.classpath" />
</javac>
</target>
@@ -590,7 +594,9 @@
destdir="${buildDir}/${fullProdName}"
deprecation="off"
debug="${debug.enable}"
- includes="com/mysql/jdbc/integration/jboss/**">
+ includes="com/mysql/jdbc/integration/jboss/**"
+ source="1.4"
+ target="1.4">
<classpath refid="project.build.classpath" />
</javac>
</target>
@@ -602,7 +608,9 @@
destdir="${buildDir}/${fullProdName}"
deprecation="off"
debug="${debug.enable}"
- includes="com/mysql/jdbc/log/Log4JLogger.java">
+ includes="com/mysql/jdbc/log/Log4JLogger.java"
+ source="1.4"
+ target="1.4">
<classpath refid="project.build.classpath" />
</javac>
</target>
@@ -616,7 +624,9 @@
deprecation="off"
debug="${debug.enable}"
includes="testsuite/**"
- excludes="testsuite/requiresNonRedists/**">
+ excludes="testsuite/requiresNonRedists/**"
+ source="1.4"
+ target="1.4">
<classpath refid="project.build.classpath"/>
</javac>
</target>