forked from pool/mysql-connector-java
54 lines
2.5 KiB
Diff
54 lines
2.5 KiB
Diff
diff -urEbwB mysql-connector-j-8.1.0.orig/build.xml mysql-connector-j-8.1.0/build.xml
|
|
--- mysql-connector-j-8.1.0.orig/build.xml 2023-09-18 09:29:29.026966561 +0200
|
|
+++ mysql-connector-j-8.1.0/build.xml 2023-09-25 19:35:06.221166735 +0200
|
|
@@ -1124,9 +1124,7 @@
|
|
description="Compiles driver, JUnit test suite and integration 'helpers' for third-party software."
|
|
depends="-init, -compile-driver, -compile-integration" />
|
|
|
|
-
|
|
- <!-- Compile the driver code. -->
|
|
- <target name="-compile-driver" depends="-init, -clean-classes">
|
|
+ <target name="-compile-driver-compile" depends="-init, -clean-classes">
|
|
<echo>Compiling MySQL Connector/J with '${com.mysql.cj.build.jdk}' to '${com.mysql.cj.build.compiler.output}'</echo>
|
|
|
|
<javac sourcepath=""
|
|
@@ -1145,6 +1143,11 @@
|
|
<classpath refid="com.mysql.cj.build.classpath" />
|
|
<compilerarg line="${javac.compilerarg}" />
|
|
</javac>
|
|
+ </target>
|
|
+
|
|
+ <target name="-compile-driver-commonschecks" depends="-compile-driver-compile" >
|
|
+ <echo>Compiling MySQL Connector/J: instrumentation.CommonsChecks</echo>
|
|
+
|
|
<java jvm="${com.mysql.cj.build.jdk.java}"
|
|
classname="instrumentation.CommonChecks"
|
|
classpathref="com.mysql.cj.build.instrumentation.classpath"
|
|
@@ -1153,6 +1156,11 @@
|
|
<arg value="${com.mysql.cj.build.compiler.output}" />
|
|
<arg value="${com.mysql.cj.build.verbose}" />
|
|
</java>
|
|
+ </target>
|
|
+
|
|
+ <target name="-compile-driver-translateexceptions" depends="-compile-driver-commonschecks" >
|
|
+ <echo>Compiling MySQL Connector/J: instrumentation.TranslateExceptions</echo>
|
|
+
|
|
<java jvm="${com.mysql.cj.build.jdk.java}"
|
|
classname="instrumentation.TranslateExceptions"
|
|
classpathref="com.mysql.cj.build.instrumentation.classpath"
|
|
@@ -1161,6 +1169,14 @@
|
|
<arg value="${com.mysql.cj.build.compiler.output}" />
|
|
<arg value="${com.mysql.cj.build.verbose}" />
|
|
</java>
|
|
+ </target>
|
|
+
|
|
+ <!-- Compile the driver code. -->
|
|
+ <target name="-compile-driver" depends="-compile-driver-addmethods" />
|
|
+
|
|
+ <target name="-compile-driver-addmethods" depends="-compile-driver-translateexceptions" >
|
|
+ <echo>Compiling MySQL Connector/J: instrumentation.AddMethods</echo>
|
|
+
|
|
<java jvm="${com.mysql.cj.build.jdk.java}"
|
|
classname="instrumentation.AddMethods"
|
|
classpathref="com.mysql.cj.build.instrumentation.classpath"
|