public class Build extends BuildBase
BuildBase.Description, BuildBase.FileList, BuildBase.StringListjavaExecutable, javaToolsJar, quiet, sysOut| Constructor and Description |
|---|
Build() |
| Modifier and Type | Method and Description |
|---|---|
void |
benchmark()
Run the benchmarks.
|
void |
clean()
Clean all jar files, classes, and generated documentation.
|
void |
compile()
Compile all classes.
|
void |
coverage()
Run the JaCoco code coverage.
|
void |
docs()
Create the documentation from the documentation sources.
|
void |
download()
Download all required jar files.
|
protected java.lang.String |
getLocalMavenDir() |
void |
installer()
Create the h2.zip file and the Windows installer.
|
void |
jar()
Create the regular h2.jar file.
|
void |
jarAndroid()
Create the file h2android.jar.
|
void |
jarClient()
Create the h2client.jar.
|
void |
jarJaqu()
Create the file h2jaqu.jar.
|
void |
jarMVStore()
Create the file h2mvstore.jar.
|
void |
jarSmall()
Create the file h2small.jar.
|
void |
javadoc()
Create the Javadocs of the API (incl.
|
void |
javadocImpl()
Create the Javadocs of the implementation.
|
static void |
main(java.lang.String... args)
Run the build.
|
void |
mavenDeployCentral()
This will build a release of the H2 .jar files and upload it to
file:///data/h2database/m2-repo.
|
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 |
spellcheck()
Just run the spellchecker.
|
void |
switchSource()
Switch the source code to the current JDK.
|
void |
test()
Compile and run all tests.
|
void |
testNetwork()
Test the local network of this machine.
|
void |
testSysProperties()
Print the system properties.
|
void |
testTravis()
Compile and run all fast tests.
|
void |
uploadBuild()
This build target is used for the automated build.
|
void |
warConsole()
Build the h2console.war file.
|
all, args, beep, copy, delete, delete, download, downloadUsingMaven, exec, execJava, execScript, files, getJavaSpecVersion, getSHA1, getStaticField, getStaticValue, jar, java, javac, javadoc, mkdir, print, println, projectHelp, readFile, replaceAll, run, writeFile, zippublic static void main(java.lang.String... args)
args - the command line arguments@BuildBase.Description(summary="Run the benchmarks.") public void benchmark()
@BuildBase.Description(summary="Clean all jar files, classes, and generated documentation.") public void clean()
@BuildBase.Description(summary="Compile all classes.") public void compile()
@BuildBase.Description(summary="Run the JaCoco code coverage.") public void coverage()
@BuildBase.Description(summary="Switch the source code to match the current JDK.") public void switchSource()
@BuildBase.Description(summary="Create the documentation from sources (incl. API Javadocs).") public void docs()
@BuildBase.Description(summary="Download all required jar files.") public void download()
@BuildBase.Description(summary="Create the h2.zip file and the Windows installer.") public void installer()
@BuildBase.Description(summary="Create the regular h2.jar file.") public void jar()
@BuildBase.Description(summary="Create h2android.jar with only the embedded DB and H2 Android API.") public void jarAndroid()
@BuildBase.Description(summary="Create h2client.jar with only the remote JDBC implementation.") public void jarClient()
@BuildBase.Description(summary="Create h2mvstore.jar containing only the MVStore.") public void jarMVStore()
@BuildBase.Description(summary="Create h2small.jar containing only the embedded database.") public void jarSmall()
@BuildBase.Description(summary="Create jaqu.jar with only the Java Query implementation.") public void jarJaqu()
@BuildBase.Description(summary="Create the API Javadocs (incl. JDBC API and tools).") public void javadoc()
@BuildBase.Description(summary="Create the Javadocs of the implementation.") public void javadocImpl()
@BuildBase.Description(summary="Build H2 release jars and upload to file:///data/h2database/m2-repo.") public void mavenDeployCentral()
@BuildBase.Description(summary="Build a snapshot H2 jar and upload to local Maven 2 repo.") public void mavenInstallLocal()
@BuildBase.Description(summary="Build H2 jar avoiding downloads (list missing files).") public void offline()
@BuildBase.Description(summary="Run the spellchecker.") public void spellcheck()
@BuildBase.Description(summary="Compile and run all tests (excluding the compile step).") public void test()
@BuildBase.Description(summary="Compile and run all tests for Travis (excl. the compile step).") public void testTravis()
@BuildBase.Description(summary="Print the system properties.") public void testSysProperties()
@BuildBase.Description(summary="Test the local network of this machine.") public void testNetwork()
@BuildBase.Description(summary="Upload all build results to the public website.") public void uploadBuild()
@BuildBase.Description(summary="Build the h2console.war file.") public void warConsole()
protected java.lang.String getLocalMavenDir()
getLocalMavenDir in class BuildBase