Github user pwendell commented on a diff in the pull request:
https://github.com/apache/spark/pull/3523#discussion_r21643415
--- Diff: docs/building-spark.md ---
@@ -145,7 +145,15 @@ We use the scala-maven-plugin which supports
incremental and continuous compilat
mvn scala:cc
-should run continuous compilation (i.e. wait for changes). However, this
has not been tested extensively.
+should run continuous compilation (i.e. wait for changes). However, this
has not been tested
+extensively. A couple of gotchas to note:
+* it only scans the paths `src/main` and `src/test` (see
+[docs](http://scala-tools.org/mvnsites/maven-scala-plugin/usage_cc.html)),
so it will only work
+from within certain submodules that have that structure.
+* compiling submodules that depend on other submodules (e.g. `core`, which
depends on `network/common` and `network/shuffle`) requires those dependencies
--- End diff --
This is a pretty complicated description. Instead can we just say that this
requires first running "mvn install"? Or even just do a "mvn install" in the
code example above before you run it?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]