提交 09550223 authored 作者: Evgenij Ryazanov's avatar Evgenij Ryazanov

Switch to Java 7 version of PostgreSQL driver because Java 6 version have problems since Java 9

上级 39644432
...@@ -59,9 +59,9 @@ public class Build extends BuildBase { ...@@ -59,9 +59,9 @@ public class Build extends BuildBase {
downloadUsingMaven("ext/derbynet-10.10.1.1.jar", downloadUsingMaven("ext/derbynet-10.10.1.1.jar",
"org/apache/derby", "derbynet", "10.10.1.1", "org/apache/derby", "derbynet", "10.10.1.1",
"912b08dca73663d4665e09cd317be1218412d93e"); "912b08dca73663d4665e09cd317be1218412d93e");
downloadUsingMaven("ext/postgresql-9.4.1209.jre6.jar", downloadUsingMaven("ext/postgresql-42.2.1.jre7",
"org.postgresql", "postgresql", "9.4.1209.jre6", "org.postgresql", "postgresql", "42.2.1.jre7",
"2ed7a5a8c952d9ea18af92efea7e56ef854abfea"); "d06eb133d573240718fe4c24577ef086f7daad6c");
downloadUsingMaven("ext/mysql-connector-java-5.1.6.jar", downloadUsingMaven("ext/mysql-connector-java-5.1.6.jar",
"mysql", "mysql-connector-java", "5.1.6", "mysql", "mysql-connector-java", "5.1.6",
"380ef5226de2c85ff3b38cbfefeea881c5fce09d"); "380ef5226de2c85ff3b38cbfefeea881c5fce09d");
...@@ -74,7 +74,7 @@ public class Build extends BuildBase { ...@@ -74,7 +74,7 @@ public class Build extends BuildBase {
File.pathSeparator + "ext/derby-10.10.1.1.jar" + File.pathSeparator + "ext/derby-10.10.1.1.jar" +
File.pathSeparator + "ext/derbyclient-10.10.1.1.jar" + File.pathSeparator + "ext/derbyclient-10.10.1.1.jar" +
File.pathSeparator + "ext/derbynet-10.10.1.1.jar" + File.pathSeparator + "ext/derbynet-10.10.1.1.jar" +
File.pathSeparator + "ext/postgresql-9.4.1209.jre6.jar" + File.pathSeparator + "ext/postgresql-42.2.1.jre7" +
File.pathSeparator + "ext/mysql-connector-java-5.1.6.jar"; File.pathSeparator + "ext/mysql-connector-java-5.1.6.jar";
StringList args = args("-Xmx128m", StringList args = args("-Xmx128m",
"-cp", cp, "org.h2.test.bench.TestPerformance"); "-cp", cp, "org.h2.test.bench.TestPerformance");
...@@ -182,7 +182,7 @@ public class Build extends BuildBase { ...@@ -182,7 +182,7 @@ public class Build extends BuildBase {
// JaCoCo does not support multiple versions of the same classes // JaCoCo does not support multiple versions of the same classes
delete(files("coverage/bin/META-INF/versions")); delete(files("coverage/bin/META-INF/versions"));
String cp = "coverage/bin" + String cp = "coverage/bin" +
File.pathSeparator + "ext/postgresql-9.4.1209.jre6.jar" + File.pathSeparator + "ext/postgresql-42.2.1.jre7" +
File.pathSeparator + "ext/servlet-api-3.1.0.jar" + File.pathSeparator + "ext/servlet-api-3.1.0.jar" +
File.pathSeparator + "ext/lucene-core-3.6.2.jar" + File.pathSeparator + "ext/lucene-core-3.6.2.jar" +
File.pathSeparator + "ext/h2mig_pagestore_addon.jar" + File.pathSeparator + "ext/h2mig_pagestore_addon.jar" +
...@@ -427,9 +427,9 @@ public class Build extends BuildBase { ...@@ -427,9 +427,9 @@ public class Build extends BuildBase {
"com/h2database", "h2", "1.2.127", "com/h2database", "h2", "1.2.127",
"056e784c7cf009483366ab9cd8d21d02fe47031a"); "056e784c7cf009483366ab9cd8d21d02fe47031a");
// for TestPgServer // for TestPgServer
downloadUsingMaven("ext/postgresql-9.4.1209.jre6.jar", downloadUsingMaven("ext/postgresql-42.2.1.jre7.jar",
"org.postgresql", "postgresql", "9.4.1209.jre6", "org.postgresql", "postgresql", "42.2.1.jre7",
"2ed7a5a8c952d9ea18af92efea7e56ef854abfea"); "d06eb133d573240718fe4c24577ef086f7daad6c");
// for TestTraceSystem // for TestTraceSystem
downloadUsingMaven("ext/slf4j-nop-1.6.0.jar", downloadUsingMaven("ext/slf4j-nop-1.6.0.jar",
"org/slf4j", "slf4j-nop", "1.6.0", "org/slf4j", "slf4j-nop", "1.6.0",
...@@ -1012,7 +1012,7 @@ public class Build extends BuildBase { ...@@ -1012,7 +1012,7 @@ public class Build extends BuildBase {
private void test(boolean travis) { private void test(boolean travis) {
downloadTest(); downloadTest();
String cp = "temp" + File.pathSeparator + "bin" + String cp = "temp" + File.pathSeparator + "bin" +
File.pathSeparator + "ext/postgresql-9.4.1209.jre6.jar" + File.pathSeparator + "ext/postgresql-42.2.1.jre7.jar" +
File.pathSeparator + "ext/servlet-api-3.1.0.jar" + File.pathSeparator + "ext/servlet-api-3.1.0.jar" +
File.pathSeparator + "ext/lucene-core-3.6.2.jar" + File.pathSeparator + "ext/lucene-core-3.6.2.jar" +
File.pathSeparator + "ext/h2mig_pagestore_addon.jar" + File.pathSeparator + "ext/h2mig_pagestore_addon.jar" +
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论