You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/05/02 18:13:04 UTC

[GitHub] [arrow] lidavidm commented on a diff in pull request #13017: ARROW-15959: [Java][Docs] Improve Java dev experience with IntelliJ

lidavidm commented on code in PR #13017:
URL: https://github.com/apache/arrow/pull/13017#discussion_r863069903


##########
docs/source/developers/java/building.rst:
##########
@@ -171,11 +171,31 @@ IDE Configuration
 IntelliJ
 --------
 
-To start working on Arrow in IntelliJ, just open the `java/`
-subdirectory of the Arrow repository.
-
+To start working on Arrow in IntelliJ: build the project once from the command
+line using ``mvn clean install``. Then open the ``java/`` subdirectory of the
+Arrow repository, and update the following settings:
+
+* In the Files tool window, find the path ``vector/target/generated-sources``,
+  right click the directory, and select Mark Directory as > Generated Sources
+  Root. There is no need to mark other generated sources directories, as only
+  the ``vector`` module generates sources.

Review Comment:
   You won't get errors until you open a file that references one of the generated classes or do an _IntelliJ_ build (not a Maven build)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org