Skip to content

Commit d2d41b6

Browse files
author
Brennon York
committed
added blurb about leverging zinc with build/mvn
1 parent b979c58 commit d2d41b6

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/building-spark.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ We use the scala-maven-plugin which supports incremental and continuous compilat
135135

136136
mvn scala:cc
137137

138-
should run continuous compilation (i.e. wait for changes). However, this has not been tested
138+
should run continuous compilation (i.e. wait for changes). However, this has not been tested
139139
extensively. A couple of gotchas to note:
140140
* it only scans the paths `src/main` and `src/test` (see
141141
[docs](http://scala-tools.org/mvnsites/maven-scala-plugin/usage_cc.html)), so it will only work
@@ -217,3 +217,9 @@ compiler. When run locally as a background process, it speeds up builds of Scala
217217
like Spark. Developers who regularly recompile Spark with Maven will be the most interested in
218218
Zinc. The project site gives instructions for building and running `zinc`; OS X users can
219219
install it using `brew install zinc`.
220+
221+
If using the `build/mvn` package `zinc` will automatically be downloaded and leveraged for all
222+
builds. This process will auto-start after the first time `build/mvn` is called and bind to port
223+
3030 unless the `ZINC_PORT` environment variable is set. The `zinc` process can subsequently be
224+
shut down at any time by running `build/zinc-<version>/bin/zinc -shutdown` and will automatically
225+
restart whenever `build/mvn` is called.

0 commit comments

Comments
 (0)