- Add new patch to build tests:
* use-classpath-in-tests.patch OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=25
This commit is contained in:
parent
c9803e11f7
commit
e1f41462f5
@ -14,6 +14,8 @@ Tue Apr 21 15:22:44 UTC 2015 - tchvatal@suse.com
|
||||
* no-jdk5-requirement.patch
|
||||
- Add and rebase jdbc4.1 patch:
|
||||
* mysql-connector-java-jdbc-4.1.patch
|
||||
- Add new patch to build tests:
|
||||
* use-classpath-in-tests.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 18 09:46:18 UTC 2015 - tchvatal@suse.com
|
||||
|
@ -35,6 +35,8 @@ Patch1: extra-libs-build.patch
|
||||
Patch2: no-jdk5-requirement.patch
|
||||
# PATCH-FIX-UPSTREAM: build with jdbc4.1 and also with new javac
|
||||
Patch3: mysql-connector-java-jdbc-4.1.patch
|
||||
# PATCH-FIX-UPSTREAM: do not lose classpath during tests build
|
||||
Patch4: use-classpath-in-tests.patch
|
||||
BuildRequires: ant
|
||||
BuildRequires: ant-contrib
|
||||
BuildRequires: apache-commons-logging
|
||||
@ -71,6 +73,7 @@ set that supports the capabilities of MySQL.
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
|
||||
# dup
|
||||
rm -f README
|
||||
|
12
use-classpath-in-tests.patch
Normal file
12
use-classpath-in-tests.patch
Normal file
@ -0,0 +1,12 @@
|
||||
Index: mysql-connector-java-5.1.35/build.xml
|
||||
===================================================================
|
||||
--- mysql-connector-java-5.1.35.orig/build.xml
|
||||
+++ mysql-connector-java-5.1.35/build.xml
|
||||
@@ -191,6 +191,7 @@ com.mysql.jdbc.noCleanBetweenCompiles=ye
|
||||
</fileset>
|
||||
|
||||
<pathelement location="${buildDir}/${fullProdName}" />
|
||||
+ <pathelement path="${java.class.path}" />
|
||||
</path>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user