提交 c23dcee7 authored 作者: Thomas Mueller's avatar Thomas Mueller

automate release process

上级 22f467ed
......@@ -17,7 +17,7 @@ Change Log
<h2>Next Version (unreleased)</h2>
<ul><li>ORDER BY on tableName.columnName didn't work correctly if the column
name was also used as an alias.
name was also used as an alias.
</li><li>H2 Console: The progress display when opening a database has been improved.
</li><li>The error message when the server doesn't start has been improved.
</li><li>Key values can now be changed in updatable result sets.
......
......@@ -270,6 +270,13 @@ java org.h2.test.TestAll timer
/*
H2 databases need to have a file name prefix.
Probably the database should throw a meaningful exception
if the last element in the URL path is a slash (or backslash).
I will try to implement that for the next release.
Improved compatibility with DB2: support for FETCH .. ROWS
drop table test;
create table test(a int);
insert into test values(1);
......
......@@ -6,8 +6,8 @@
*/
package org.h2.test.jaqu;
//## Java 1.5 begin ##
import java.math.BigDecimal;
//## Java 1.5 begin ##
import java.util.List;
import org.h2.jaqu.Db;
......@@ -179,13 +179,13 @@ public class SamplesTest extends TestBase {
/**
* A result set class containing the product name and price.
*/
//## Java 1.5 begin ##
public static class ProductPrice {
public String productName;
public String category;
public Double price;
}
//## Java 1.5 begin ##
private void testAnonymousTypes3() throws Exception {
// var productInfos =
......@@ -220,13 +220,13 @@ public class SamplesTest extends TestBase {
/**
* A result set class containing customer data and the order total.
*/
//## Java 1.5 begin ##
public static class CustOrder {
public String customerId;
public Integer orderId;
public BigDecimal total;
}
//## Java 1.5 begin ##
private void testSelectManyCompoundFrom2() throws Exception {
// var orders =
......@@ -280,18 +280,17 @@ public class SamplesTest extends TestBase {
long count = db.from(new Product()).selectCount();
assertEquals(77, count);
}
//## Java 1.5 end ##
//## Java 1.5 end ##
/**
* A result set class containing product groups.
*/
//## Java 1.5 begin ##
public static class ProductGroup {
public String category;
public Long productCount;
}
//## Java 1.5 begin ##
private void testGroup() throws Exception {
// var orderGroups =
......
......@@ -242,7 +242,7 @@ public class Build extends BuildBase {
mkdir("docs/javadoc");
javadoc(new String[] { "-sourcepath", "src/main", "org.h2.jdbc", "org.h2.jdbcx",
"org.h2.tools", "org.h2.api", "org.h2.constant",
"-doclet", "org.h2.build.doclet.Doclet" });
"-doclet", "org.h2.build.doclet.Doclet"});
copy("docs/javadoc", getFiles("src/docsrc/javadoc"), "src/docsrc/javadoc");
}
......@@ -250,8 +250,7 @@ public class Build extends BuildBase {
* Create the Javadocs of the implementation.
*/
public void javadocImpl() {
mkdir("docs/javadocImpl");
mkdir("docs/javadocImpl2");
javadoc(new String[] {
"-sourcepath", "src/main" + File.pathSeparator +
"src/test" + File.pathSeparator + "src/tools" ,
......@@ -263,7 +262,7 @@ public class Build extends BuildBase {
File.pathSeparator + "ext/servlet-api-2.4.jar" +
File.pathSeparator + "ext/lucene-core-2.2.0.jar",
"-subpackages", "org.h2",
"-exclude", "org.h2.build.*,org.h2.dev.*" });
"-exclude", "org.h2.test.jaqu:org.h2.jaqu" });
System.setProperty("h2.interfacesOnly", "false");
System.setProperty("h2.destDir", "docs/javadocImpl");
......@@ -274,6 +273,7 @@ public class Build extends BuildBase {
File.pathSeparator + "ext/servlet-api-2.4.jar" +
File.pathSeparator + "ext/lucene-core-2.2.0.jar",
"-subpackages", "org.h2",
"-exclude", "org.h2.test.jaqu:org.h2.jaqu",
"-package",
"-doclet", "org.h2.build.doclet.Doclet" });
copy("docs/javadocImpl", getFiles("src/docsrc/javadoc"), "src/docsrc/javadoc");
......
......@@ -157,7 +157,7 @@ public class SwitchSource {
File fileCopy = new File(name);
fileNew.renameTo(fileCopy);
fileBack.delete();
System.out.println(name);
// System.out.println(name);
}
}
......
......@@ -551,4 +551,4 @@ geocoder geocoding longitude estimating microarray latitude magnolia pfgrc
refill analyzers patches popular came growing indication arabic graphic toc
numbering goto outline makensis macro hyperlink dispatch setlocal wend
widows msgbox designer styles families uno soffice orphans stan ucb rem
pdfurl upate pagebreak
pdfurl upate pagebreak ren echo
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论