Add doc for directories to likely mark so that IDEA project can compile
Using IntelliJ IDEA shows that one needs to mark some buck-out/
annotation directories as Generated Sources Root, in order for the
Gerrit project to compile. That can be done through the Project view
contextual menu, upon selecting each directory. Directories to mark are
listed by this changed developer doc.
Change-Id: I03fe7cb21fa251656130a5a90079ed77703f60cb
diff --git a/Documentation/dev-readme.txt b/Documentation/dev-readme.txt
index bcf4a588..b64973a 100644
--- a/Documentation/dev-readme.txt
+++ b/Documentation/dev-readme.txt
@@ -56,6 +56,17 @@
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