aboutsummaryrefslogtreecommitdiff
path: root/docs/building-spark.md
diff options
context:
space:
mode:
authorCheng Lian <lian@databricks.com>2015-02-02 21:14:21 -0800
committerReynold Xin <rxin@databricks.com>2015-02-02 21:14:21 -0800
commit60f67e7a142f831f91f60676f94affa8add9944f (patch)
tree26c4f58455320307ecd851142df1b382e1d5efa4 /docs/building-spark.md
parent7930d2bef0e2c7f62456e013124455061dfe6dc8 (diff)
downloadspark-60f67e7a142f831f91f60676f94affa8add9944f.tar.gz
spark-60f67e7a142f831f91f60676f94affa8add9944f.tar.bz2
spark-60f67e7a142f831f91f60676f94affa8add9944f.zip
[Doc] Minor: Fixes several formatting issues
Fixes several minor formatting issues in the [Continuous Compilation] [1] section. [1]: http://spark.apache.org/docs/latest/building-spark.html#continuous-compilation <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/apache/spark/4316) <!-- Reviewable:end --> Author: Cheng Lian <lian@databricks.com> Closes #4316 from liancheng/fix-build-instruction-docs and squashes the following commits: 0a92e01 [Cheng Lian] Fixes several formatting issues
Diffstat (limited to 'docs/building-spark.md')
-rw-r--r--docs/building-spark.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/building-spark.md b/docs/building-spark.md
index fb93017861..db69905813 100644
--- a/docs/building-spark.md
+++ b/docs/building-spark.md
@@ -137,15 +137,18 @@ We use the scala-maven-plugin which supports incremental and continuous compilat
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.
+
* you'll typically need to run `mvn install` from the project root for compilation within
specific submodules to work; this is because submodules that depend on other submodules do so via
the `spark-parent` module).
Thus, the full flow for running continuous-compilation of the `core` submodule may look more like:
- ```
+
+```
$ mvn install
$ cd core
$ mvn scala:cc