提交 71aa57a5 authored 作者: Thomas Mueller's avatar Thomas Mueller

--no commit message

--no commit message
上级 c88ff009
......@@ -128,6 +128,9 @@ Of course, patches are always welcome, but are not always applied as is. Patches
</li><li>The HELP information schema can be directly exposed in the Console
</li><li>Maybe use the 0x1234 notation for binary fields, see MS SQL Server
</li><li>Support Oracle CONNECT BY in some way: http://www.adp-gmbh.ch/ora/sql/connect_by.html, http://philip.greenspun.com/sql/trees.html
</li><li>SQL Server 2005, Oracle: Support COUNT(*) OVER(). See
http://www.orafusion.com/art_anlytc.htm
</li><li>RANK() and DENSE_RANK(), Partition using OVER()
</li><li>SQL 2003 (http://www.wiscorp.com/sql_2003_standard.zip)
</li><li>http://www.jpackage.org
</li><li>Version column (number/sequence and timestamp based)
......@@ -163,7 +166,6 @@ Of course, patches are always welcome, but are not always applied as is. Patches
</li><li>Try using a factory for Row, Value[] (faster?), http://javolution.org/, alternative ObjectArray / IntArray
</li><li>Auto-Update feature for database, .jar file
</li><li>ResultSet SimpleResultSet.readFromURL(String url): id varchar, state varchar, released timestamp
</li><li>RANK() and DENSE_RANK(), Partition using OVER()
</li><li>ROW_NUMBER (not the same as ROWNUM)
</li><li>Partial indexing (see PostgreSQL)
</li><li>The build should fail if the test fails
......
Manifest-Version: 1.0
Implementation-Title: H2 Database Engine
Implementation-Title: ${title}
Implementation-URL: http://www.h2database.com
Implementation-Version: ${version}
Build-Jdk: ${buildJdk}
......
......@@ -204,7 +204,7 @@ public class Build extends BuildBase {
*/
public void jar() {
compile();
manifest("org.h2.tools.Console");
manifest("H2 Database Engine", "org.h2.tools.Console");
FileList files = getFiles("temp").
exclude("temp/org/h2/dev/*").
exclude("temp/org/h2/build/*").
......@@ -251,12 +251,23 @@ public class Build extends BuildBase {
exclude("*.txt").
exclude("temp/META-INF/*");
zip("temp/h2classes.zip", files, "temp", true, true);
manifest("org.h2.tools.Console\nClass-Path: h2classes.zip");
manifest("H2 Database Engine (Embedded)", "org.h2.tools.Console\nClass-Path: h2classes.zip");
files = getFiles("temp/h2classes.zip");
files.addAll(getFiles("temp/META-INF"));
jar("bin/h2small.jar", files, "temp");
}
/**
* Create the file h2jaqu.jar. This only contains the JaQu (Java Query) implementation.
*/
public void jarJaqu() {
compile(true, false);
manifest("H2 JaQu", "");
FileList files = getFiles("temp/org/h2/jaqu");
files.addAll(getFiles("temp/META-INF/MANIFEST.MF"));
jar("bin/h2jaqu.jar", files, "temp");
}
/**
* Create the Javadocs of the API (including the JDBC API) and tools.
*/
......@@ -302,8 +313,9 @@ public class Build extends BuildBase {
copy("docs/javadocImpl", getFiles("src/docsrc/javadoc"), "src/docsrc/javadoc");
}
private void manifest(String mainClassName) {
private void manifest(String title, String mainClassName) {
String manifest = new String(readFile(new File("src/main/META-INF/MANIFEST.MF")));
manifest = replaceAll(manifest, "${title}", title);
manifest = replaceAll(manifest, "${version}", getVersion());
manifest = replaceAll(manifest, "${buildJdk}", getJavaSpecVersion());
String createdBy = System.getProperty("java.runtime.version") +
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论