File: 0003-disable-hibernate-fabric.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 (34 lines) | stat: -rw-r--r-- 1,357 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
26
27
28
29
30
31
32
33
34
Description: Do not compile MultiTenantConnectionProvider since it requires Hibernate 4 which isn't in Debian yet
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
@@ -240,6 +240,7 @@ com.mysql.jdbc.noCleanBetweenCompiles=ye
                 </not>
             </condition>
         </fail>
+<!--
         <fail message="Hibernate libraries, required for build tasks, must be in the directory '${com.mysql.jdbc.extra.libs}/hibernate4'.">
             <condition>
                 <not>
@@ -247,6 +248,7 @@ com.mysql.jdbc.noCleanBetweenCompiles=ye
                 </not>
             </condition>
         </fail>
+-->
     </target>
 
 
@@ -892,8 +894,10 @@ Java 8 (for JDBC 4+ implementation) is a
                bootclasspath="${com.mysql.jdbc.jre6.rtjar}"
                source="1.6"
                target="1.6">
+<!--
             <include name="**/FabricMultiTenantConnectionProvider.java" />
             <include name="**/HibernateFabric.java" />
+-->
             <include name="**/JDBC4*.java" />
             <exclude name="**/JDBC42*.java" />
             <include name="com/mysql/jdbc/exceptions/jdbc4/*" />