Update the documentation how to run gerrit from eclipse

After switch from bower components to npm modules, and removal of bazel
filter from Jetty daemon, server.go process has to be launched to run
gerrit from eclipse. Update the documentation and gerrit_daemon.launch
correspondingly.

Change-Id: I0905b55c0ae43b3816841018200059c96eeb5d09
This commit is contained in:
David Ostrovsky 2020-02-13 22:32:08 +01:00
parent 9f83439d62
commit add163fcca
2 changed files with 8 additions and 1 deletions

View File

@ -81,6 +81,13 @@ Developer Setup guide to configure a local site for testing.
== Testing
=== PolyGerrit UI is served by `server.go` process. To launch it,
run this command:
----
$ bazel run polygerrit-ui:devserver
----
=== Running the Daemon
Duplicate the existing launch configuration:

View File

@ -11,7 +11,7 @@
</listAttribute>
<booleanAttribute key="org.eclipse.jdt.launching.ATTR_USE_START_ON_FIRST_THREAD" value="true"/>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="Main"/>
<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="daemon --console-log --show-stack-trace -d ${resource_loc:/gerrit}/../gerrit_testsite"/>
<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="daemon --console-log --show-stack-trace --dev-cdn http://localhost:8081 -d ${resource_loc:/gerrit}/../gerrit_testsite"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="gerrit"/>
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Dgerrit.plugin-classes=${resource_loc:/gerrit/eclipse-out}/plugins"/>
</launchConfiguration>