Fix example polygerrit-ui command-line
java should be invoked from $(bazel info output) root. There is no guarantee that $(which java) is compatible with the JDK that bazel uses. Change-Id: I339e4011fd2c84d2e8dd3d4e66730159ca625bbb
This commit is contained in:
@@ -68,9 +68,10 @@ When your project is set up and works using the classic UI, run a test server
|
||||
that serves PolyGerrit:
|
||||
|
||||
```sh
|
||||
bazel build polygerrit && \
|
||||
java -jar bazel-bin/polygerrit.war daemon --polygerrit-dev \
|
||||
-d ../gerrit_testsite --console-log --show-stack-trace
|
||||
bazel build polygerrit &&
|
||||
$(bazel info output_base)/external/local_jdk/bin/java \
|
||||
-jar bazel-bin/polygerrit.war daemon --polygerrit-dev \
|
||||
-d ../gerrit_testsite --console-log --show-stack-trace
|
||||
```
|
||||
|
||||
## Running Tests
|
||||
|
||||
Reference in New Issue
Block a user