Repository: spark-website Updated Branches: refs/heads/asf-site aa1c66e42 -> 09046892b
fix an error in the descriptions of `Build Targets For Individual Projects` Project: http://git-wip-us.apache.org/repos/asf/spark-website/repo Commit: http://git-wip-us.apache.org/repos/asf/spark-website/commit/05c99469 Tree: http://git-wip-us.apache.org/repos/asf/spark-website/tree/05c99469 Diff: http://git-wip-us.apache.org/repos/asf/spark-website/diff/05c99469 Branch: refs/heads/asf-site Commit: 05c99469b15a6039df855d8619972c4db1a3e663 Parents: c1b9ad3 Author: Stan Zhai <zhaishi...@haizhi.com> Authored: Fri Mar 10 00:33:52 2017 +0800 Committer: Stan Zhai <zhaishi...@haizhi.com> Committed: Fri Mar 10 00:33:52 2017 +0800 ---------------------------------------------------------------------- developer-tools.md | 16 ++++++++++++---- site/developer-tools.html | 16 ++++++++++++---- 2 files changed, 24 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark-website/blob/05c99469/developer-tools.md ---------------------------------------------------------------------- diff --git a/developer-tools.md b/developer-tools.md index 88f3f36..e012c8e 100644 --- a/developer-tools.md +++ b/developer-tools.md @@ -48,6 +48,7 @@ builds. This process will auto-start after the first time `build/mvn` is called shut down at any time by running `build/zinc-<version>/bin/zinc -shutdown` and will automatically restart whenever `build/mvn` is called. +<a name="individual-tests"></a> <h3 id="running-individual-tests">Running Individual Tests</h3> When developing locally, it's often convenient to run a single test or a few tests, rather than running the entire test suite. @@ -155,14 +156,21 @@ $ build/mvn -DskipTests install $ build/mvn dependency:tree ``` -<a name="individual-tests"></a> -<h3>Running Build Targets For Individual Projects</h3> +<h3>Building submodules individually</h3> + +For instance, you can build the Spark Core module using: ``` $ # sbt -$ build/sbt package +$ build/sbt +> project core +> package + +$ # or you can build the spark-core module with sbt directly using: +$ build/sbt core/package + $ # Maven -$ build/mvn package -DskipTests -pl assembly +$ build/mvn package -DskipTests -pl :spark-core_2.11 ``` <h3>ScalaTest Issues</h3> http://git-wip-us.apache.org/repos/asf/spark-website/blob/05c99469/site/developer-tools.html ---------------------------------------------------------------------- diff --git a/site/developer-tools.html b/site/developer-tools.html index 615adea..1cbe7bb 100644 --- a/site/developer-tools.html +++ b/site/developer-tools.html @@ -232,6 +232,7 @@ builds. This process will auto-start after the first time <code>build/mvn</code> shut down at any time by running <code>build/zinc-<version>/bin/zinc -shutdown</code> and will automatically restart whenever <code>build/mvn</code> is called.</p> +<p><a name="individual-tests"></a></p> <h3 id="running-individual-tests">Running Individual Tests</h3> <p>When developing locally, it’s often convenient to run a single test or a few tests, rather than running the entire test suite.</p> @@ -326,13 +327,20 @@ $ build/mvn -DskipTests install $ build/mvn dependency:tree </code></pre> -<p><a name="individual-tests"></a></p> -<h3>Running Build Targets For Individual Projects</h3> +<h3>Building submodules individually</h3> + +<p>For instance, you can build the Spark Core module using:</p> <pre><code>$ # sbt -$ build/sbt package +$ build/sbt +> project core +> package + +$ # or you can build the spark-core module with sbt directly using: +$ build/sbt core/package + $ # Maven -$ build/mvn package -DskipTests -pl assembly +$ build/mvn package -DskipTests -pl :spark-core_2.11 </code></pre> <h3>ScalaTest Issues</h3> --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org