Build

The build definition.

Methods
static void main(String... args)
Run the build.
static void main(String... args)
Run the build.
Parameters:
args - the command line arguments
void benchmark()
Run the benchmarks.
void benchmark()
Run the benchmarks.
void clean()
Clean all jar files, classes, and generated documentation.
void clean()
Clean all jar files, classes, and generated documentation.
void compile()
Compile all classes.
void compile()
Compile all classes.
void coverage()
Run the JaCoco code coverage.
void coverage()
Run the JaCoco code coverage.
void docs()
Create the documentation from the documentation sources.
void docs()
Create the documentation from the documentation sources. API Javadocs are created as well.
void download()
Download all required jar files.
void download()
Download all required jar files. Actually those are only compile time dependencies. The database can be used without any dependencies.
String getLocalMavenDir()
String getLocalMavenDir()
void installer()
Create the h2.zip file and the Windows installer.
void installer()
Create the h2.zip file and the Windows installer.
void jar()
Create the regular h2.jar file.
void jar()
Create the regular h2.jar file.
void jarAndroid()
Create the file h2android.jar.
void jarAndroid()
Create the file h2android.jar. This only contains the embedded database, plus the H2 Android API. Debug information is disabled.
void jarClient()
Create the h2client.jar.
void jarClient()
Create the h2client.jar. This only contains the remote JDBC implementation.
void jarJaqu()
Create the file h2jaqu.jar.
void jarJaqu()
Create the file h2jaqu.jar. This only contains the JaQu (Java Query) implementation. All other jar files do not include JaQu.
void jarMVStore()
Create the file h2mvstore.jar.
void jarMVStore()
Create the file h2mvstore.jar. This only contains the MVStore.
void jarSmall()
Create the file h2small.jar.
void jarSmall()
Create the file h2small.jar. This only contains the embedded database. Debug information is disabled.
void javadoc()
Create the Javadocs of the API (incl.
void javadoc()
Create the Javadocs of the API (incl. the JDBC API) and tools.
void javadocImpl()
Create the Javadocs of the implementation.
void javadocImpl()
Create the Javadocs of the implementation.
void mavenDeployCentral()
This will build a release of the H2 .jar files and upload it to file:///data/h2database/m2-repo.
void mavenDeployCentral()
This will build a release of the H2 .jar files and upload it to file:///data/h2database/m2-repo. This is only required when a new H2 version is made.
void mavenInstallLocal()
This will build a 'snapshot' H2 .jar file and upload it to the local Maven 2 repository.
void mavenInstallLocal()
This will build a 'snapshot' H2 .jar file and upload it to the local Maven 2 repository.
void offline()
Build the jar file without downloading any files over the network.
void offline()
Build the jar file without downloading any files over the network. If the required files are missing, they are are listed, and the jar file is not built.
void spellcheck()
Just run the spellchecker.
void spellcheck()
Just run the spellchecker.
void switchSource()
Switch the source code to the current JDK.
void switchSource()
Switch the source code to the current JDK.
void test()
Compile and run all tests.
void test()
Compile and run all tests. This does not include the compile step.
void testNetwork()
Test the local network of this machine.
void testNetwork()
Test the local network of this machine.
void testSysProperties()
Print the system properties.
void testSysProperties()
Print the system properties.
void testTravis()
Compile and run all fast tests.
void testTravis()
Compile and run all fast tests. This does not include the compile step.
void uploadBuild()
This build target is used for the automated build.
void uploadBuild()
This build target is used for the automated build. It copies the result of the automated build (including test results, newsfeed, code coverage) to the public web site.
void warConsole()
Build the h2console.war file.
void warConsole()
Build the h2console.war file.