File: 0004-skip-jdk-check.patch

package info (click to toggle)
mysql-connector-java 5.1.49-0%2Bdeb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 10,580 kB
  • sloc: java: 102,893; xml: 1,318; makefile: 29; sh: 12
file content (25 lines) | stat: -rw-r--r-- 1,664 bytes parent folder | download
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
Description: Disable the JDK check
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: not-needed
Index: mysql-connector-java-5.1.49.orig/build.xml
===================================================================
--- mysql-connector-java-5.1.49.orig.orig/build.xml
+++ mysql-connector-java-5.1.49.orig/build.xml
@@ -411,7 +411,7 @@ Java 8 (for JDBC 4+ implementation) is a
 
 
     <!-- Prepares files and settings for compiling driver. -->
-    <target name="init" depends="-compiler-check, -init-copy, -init-filter-license, -init-no-crypto">
+    <target name="init" depends="-init-copy, -init-filter-license, -init-no-crypto">
         <!-- The following is needed for source distributions as the classpath can't be dynamically altered, and not having this directory present causes the
              build to fail. -->
         <available file="${com.mysql.jdbc.docs.sourceDir}" property="com.mysql.jdbc.docs.sourcesPresent" />
@@ -1158,7 +1158,7 @@ Java 8 (for JDBC 4+ implementation) is a
     <!-- Run the full test suite, single test set or named tests against one JVM and one server config. -->
     <target name="test"
             description="Runs the full test suite, single test set (variable 'test') or named tests (variables 'test' and 'methods') against one JVM and one server config."
-            depends="-testsuite-url-check, -testsuite-jvm-check, compile, -set-test-result-prefix">
+            depends="-testsuite-url-check, compile, -set-test-result-prefix">
         <property name="junit.unitregress.results" value="${junit.results}/${test.result.prefix}/unitregress" />
 
         <mkdir dir="${junit.unitregress.results}/report" />