Bazel docs: Describe how to build the Gerrit release war file
Change-Id: Id9e43705b1924f98cbb6327f10dbc0bf1c1910b5 Signed-off-by: Edwin Kempin <ekempin@google.com>
This commit is contained in:
@@ -26,7 +26,8 @@ https://www.bazel.io/versions/master/docs/install.html
|
||||
|
||||
=== Gerrit Development WAR File
|
||||
|
||||
To build the Gerrit web application that includes GWT UI and PolyGerrit UI:
|
||||
To build the Gerrit web application that includes the GWT UI and the
|
||||
PolyGerrit UI:
|
||||
|
||||
----
|
||||
bazel build gerrit
|
||||
@@ -49,6 +50,21 @@ To run a Gerrit site execute:
|
||||
This Java version is available at
|
||||
`$(bazel info output_base)/external/local_jdk/bin/java`.
|
||||
|
||||
=== Gerrit Release WAR File
|
||||
|
||||
To build the Gerrit web application that includes the GWT UI, the
|
||||
PolyGerrit UI and documentation:
|
||||
|
||||
----
|
||||
bazel build release
|
||||
----
|
||||
|
||||
The output executable WAR will be placed in:
|
||||
|
||||
----
|
||||
bazel-bin/release.war
|
||||
----
|
||||
|
||||
=== Headless Mode
|
||||
|
||||
To build Gerrit in headless mode, i.e. without the GWT Web UI:
|
||||
|
||||
Reference in New Issue
Block a user