Package org.h2.build

Class Build


public class Build extends BuildBase
The build definition.
  • Constructor Details

    • Build

      public Build()
  • Method Details

    • main

      public static void main(String... args)
      Run the build.
      Parameters:
      args - the command line arguments
    • benchmark

      @Description(summary="Run the benchmarks.") public void 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

      @Description(summary="Compile all classes.") public void compile()
      Compile all classes.
    • coverage

      @Description(summary="Run the JaCoco code coverage.") public void 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

      @Description(summary="Download all required jar files.") public void download()
      Download all required jar files. Actually those are only compile time dependencies. The database can be used without any dependencies.
    • installer

      @Description(summary="Create the h2.zip file and the Windows installer.") public void installer()
      Create the h2.zip file and the Windows installer.
    • jar

      @Description(summary="Create the regular h2.jar file.") public void jar()
      Create the regular h2.jar file.
    • jarMVStore

      @Description(summary="Create h2mvstore.jar containing only the MVStore.") public void jarMVStore()
      Create the file h2mvstore.jar. This only contains the MVStore.
    • javadoc

      @Description(summary="Create the API Javadocs (incl. JDBC API and tools).") public void javadoc()
      Create the Javadocs of the API (incl. the JDBC API) and tools.
    • javadocImpl

      @Description(summary="Create the Javadocs of the implementation.") public void 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

      @Description(summary="Build H2 jar avoiding downloads (list missing files).") public void 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

      @Description(summary="Run the spellchecker.") public void spellcheck()
      Just run the spellchecker.
    • test

      @Description(summary="Compile and run all tests (excluding the compile step).") public void 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

      @Description(summary="Print the system properties.") public void testSysProperties()
      Print the system properties.
    • testNetwork

      @Description(summary="Test the local network of this machine.") public void testNetwork()
      Test the local network of this machine.
    • uploadBuild

      @Description(summary="Upload all build results to the public website.") public 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.
    • warConsole

      @Description(summary="Build the h2console.war file.") public void warConsole()
      Build the h2console.war file.
    • getLocalMavenDir

      protected String getLocalMavenDir()
      Overrides:
      getLocalMavenDir in class BuildBase