Package org.h2.build
Class Build
java.lang.Object
org.h2.build.BuildBase
org.h2.build.Build
The build definition.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.h2.build.BuildBase
BuildBase.Description, BuildBase.FileList, BuildBase.StringList -
Field Summary
Fields inherited from class org.h2.build.BuildBase
javaExecutable, javaToolsJar, quiet, sysOut -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidRun the benchmarks.voidclean()Clean all jar files, classes, and generated documentation.voidcompile()Compile all classes.voidcoverage()Run the JaCoco code coverage.voiddocs()Create the documentation from the documentation sources.voiddownload()Download all required jar files.protected StringvoidCreate the h2.zip file and the Windows installer.voidjar()Create the regular h2.jar file.voidCreate the file h2mvstore.jar.voidjavadoc()Create the Javadocs of the API (incl.voidCreate the Javadocs of the implementation.static voidRun the build.voidThis will build a release of the H2 .jar files and upload it to file:///data/h2database/m2-repo.voidThis will build a 'snapshot' H2 .jar file and upload it to the local Maven 2 repository.voidoffline()Build the jar file without downloading any files over the network.voidJust run the spellchecker.voidtest()Compile and run all tests.voidtestCI()Compile and run all fast tests.voidTest the local network of this machine.voidPrint the system properties.voidThis build target is used for the automated build.voidBuild the h2console.war file.Methods inherited from class org.h2.build.BuildBase
all, args, beep, copy, delete, delete, deleteRecursive, download, downloadUsingMaven, exec, execJava, execScript, files, getJavaSpecVersion, getJavaVersion, getSHA1, getStaticField, isWindows, jar, java, javac, javadoc, mkdir, print, println, projectHelp, readFile, replaceAll, run, writeFile, zip
-
Constructor Details
-
Build
public Build()
-
-
Method Details
-
main
Run the build.- Parameters:
args- the command line arguments
-
benchmark
Run the benchmarks. -
clean
@Description(summary="Clean all jar files, classes, and generated documentation.") public void clean()Clean all jar files, classes, and generated documentation. -
compile
Compile all classes. -
coverage
Run the JaCoco code coverage. -
docs
@Description(summary="Create the documentation from sources (incl. API Javadocs).") public void docs()Create the documentation from the documentation sources. API Javadocs are created as well. -
download
Download all required jar files. Actually those are only compile time dependencies. The database can be used without any dependencies. -
installer
Create the h2.zip file and the Windows installer. -
jar
Create the regular h2.jar file. -
jarMVStore
Create the file h2mvstore.jar. This only contains the MVStore. -
javadoc
Create the Javadocs of the API (incl. the JDBC API) and tools. -
javadocImpl
Create the Javadocs of the implementation. -
mavenDeployCentral
@Description(summary="Build H2 release jars and upload to file:///data/h2database/m2-repo.") public 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. -
mavenInstallLocal
@Description(summary="Build a snapshot H2 jar and upload to local Maven 2 repo.") public void mavenInstallLocal()This will build a 'snapshot' H2 .jar file and upload it to the local Maven 2 repository. -
offline
Build the jar file without downloading any files over the network. If the required files are missing, they are listed, and the jar file is not built. -
spellcheck
Just run the spellchecker. -
test
Compile and run all tests. This does not include the compile step. -
testCI
@Description(summary="Compile and run all tests for CI (excl. the compile step).") public void testCI()Compile and run all fast tests. This does not include the compile step. -
testSysProperties
Print the system properties. -
testNetwork
Test the local network of this machine. -
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. -
warConsole
Build the h2console.war file. -
getLocalMavenDir
- Overrides:
getLocalMavenDirin classBuildBase
-