Add gerrit_daemon runtime config for IntelliJ

Change-Id: Ib362632d457d982b82e9c09d6bea8ecbaf7b2f26
This commit is contained in:
Patrick Hiesel
2016-11-11 11:10:08 -08:00
parent b33ef447a0
commit 96c6c9ba71
2 changed files with 24 additions and 2 deletions

View File

@@ -152,9 +152,15 @@ The Gerrit build works with Bazel's [IntelliJ
plugin](https://ij.bazel.io). Do the following:
* Install the plugin (requires IJ 2016.2 or newer)
* Select "File > Import Bazel project".
* Restart IntelliJ
* Select "Import Bazel Project" from the homescreen
* Select "Workspace": (directory holding gerrit source)
* Select "project view: generate from BUILD": (enter top level BUILD file)
* Select "Import from workspace > Project view" : `.bazelproject`
* Once the project was created, copy `tools/intellij/gerrit_daemon.xml` to
`.idea/runConfigurations/gerrit_daemon.xml` in your IntelliJ output
* In Settings > Appearance & Behavior > Path Variables create a new path
variable called `TESTSITE_PATH` and provide the path to your local testsite
as value
=== Eclipse