TINKERPOP-786 Updated docs for intellij setup

Now that we have a annotation processor in gremlin-core there are some 
additional setup instructions required for Intellij to ensure tests can run 
through the debugger.


Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/a98471c4
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/a98471c4
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/a98471c4

Branch: refs/heads/tp32-glv
Commit: a98471c4ee267afb1e362a93c28fb9dea221fb98
Parents: 62cfbc9
Author: Stephen Mallette <[email protected]>
Authored: Thu May 4 10:27:27 2017 -0400
Committer: Stephen Mallette <[email protected]>
Committed: Tue May 16 11:01:50 2017 -0400

----------------------------------------------------------------------
 docs/src/dev/developer/development-environment.asciidoc | 10 ++++++++++
 1 file changed, 10 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/a98471c4/docs/src/dev/developer/development-environment.asciidoc
----------------------------------------------------------------------
diff --git a/docs/src/dev/developer/development-environment.asciidoc 
b/docs/src/dev/developer/development-environment.asciidoc
index 4a7a3f0..98a89f7 100644
--- a/docs/src/dev/developer/development-environment.asciidoc
+++ b/docs/src/dev/developer/development-environment.asciidoc
@@ -223,3 +223,13 @@ This will ensure that tests will properly execute within 
the IDE.
 
 If Intellij complains about "duplicate sources" for the Groovy files when 
attempting to compile/run tests, then
 install the link:http://plugins.jetbrains.com/plugin/7442?pr=idea[GMavenPlus 
Intellij plugin].
+
+The `gremlin-core` module uses a Java annotation processor to help support 
DSLs. To support this capability be sure
+that:
+
+. `File | Settings | Compiler | Annotation Processors` has the checkbox with 
the "Enable annotation processing" checked.
+Intellij should be able to detect the processor automatically on build.
+. The `gremlin-core/target` directory should not be hidden and 
`target/classes`, `target/gneerated-sources` and
+`target/generated-test-sources should be marked as "Generated Sources Root". 
If they are not setup that way by
+Intellij by default then simply right-click on them use the "Mark Directory 
with" option to make the appropriate
+selections.

Reply via email to