summaryrefslogtreecommitdiffstats
path: root/Documentation/dev-readme.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/dev-readme.txt')
-rw-r--r--Documentation/dev-readme.txt19
1 files changed, 15 insertions, 4 deletions
diff --git a/Documentation/dev-readme.txt b/Documentation/dev-readme.txt
index f59f2fc851..4a5c0bd9f2 100644
--- a/Documentation/dev-readme.txt
+++ b/Documentation/dev-readme.txt
@@ -56,6 +56,17 @@ To use IntelliJ IDEA for development, the easiest way is to follow
Eclipse integration and then open it as Eclipse project in IDEA.
You need the Eclipse plugin activated in IntelliJ IDEA.
+Once you start compiling using both buck and your Gerrit project in
+IDEA, you will likely need to mark the below directories as generated
+sources roots. You can do so using the IDEA "Project" view. In the
+context menu of each one of these, use "Mark Directory As" to mark
+them as "Generated Sources Root":
+
+----
+ __auto_value_tests_gen__
+ __httpd_gen__
+ __server_gen__
+----
== Mac OS X
@@ -76,7 +87,7 @@ After compiling (above), run Gerrit's 'init' command to create a
testing site for development use:
----
- java -jar buck-out/gen/gerrit.war init -d ../gerrit_testsite
+ java -jar buck-out/gen/gerrit/gerrit.war init -d ../gerrit_testsite
----
Accept defaults by pressing Enter until 'init' completes, or add
@@ -119,7 +130,7 @@ The daemon can be directly launched from the build area, without
copying to the test site:
----
- java -jar buck-out/gen/gerrit.war daemon -d ../gerrit_testsite
+ java -jar buck-out/gen/gerrit/gerrit.war daemon -d ../gerrit_testsite
----
=== Running the Daemon with Gerrit Inspector
@@ -138,7 +149,7 @@ Gerrit Inspect can be started by adding '-s' option to the
command used to launch the daemon:
----
- java -jar buck-out/gen/gerrit.war daemon -d ../gerrit_testsite -s
+ java -jar buck-out/gen/gerrit/gerrit.war daemon -d ../gerrit_testsite -s
----
Gerrit Inspector examines Java libraries first, then loads
@@ -165,7 +176,7 @@ The embedded H2 database can be queried and updated from the
command line. If the daemon is not currently running:
----
- java -jar buck-out/gen/gerrit.war gsql -d ../gerrit_testsite
+ java -jar buck-out/gen/gerrit/gerrit.war gsql -d ../gerrit_testsite
----
Or, if it is running and the database is in use, connect over SSH