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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
