From 547400732a536b2810dc594680ffc31511b86c99 Mon Sep 17 00:00:00 2001 From: brandonbyskov Date: Sun, 21 Jun 2020 13:34:54 -0400 Subject: [PATCH 1/2] Remove Documention on using Zinc server --- src/site/xdoc/example_incremental.xml.vm | 43 ------------------------ 1 file changed, 43 deletions(-) diff --git a/src/site/xdoc/example_incremental.xml.vm b/src/site/xdoc/example_incremental.xml.vm index 2fcb795a..10ad7e31 100644 --- a/src/site/xdoc/example_incremental.xml.vm +++ b/src/site/xdoc/example_incremental.xml.vm @@ -44,49 +44,6 @@ via the "MAVEN_OPTS" environment variable. -
-

- Zinc supports much faster compilation by running as a server, keeping the - JVM and classloaders warm, and the Scala Maven Plugin can be used as a - Zinc client, connecting to a currently running Zinc server. This can - improve compilation speeds by a factor of two, or even more, giving the - same benefits as using sbt's interactive shell. -

-

- To use Zinc as a server, first install a local version of Zinc via the - Zinc homepage. - You can start the Zinc server with: -

- zinc -start -

- Configure your project to use the Zinc server with the "useZincServer" - configuration option: -

- - - ... - - ${project.groupId} - ${project.artifactId} - ${project.version} - - incremental - true - - - ... - - ]]> - -

- If there is no Zinc server currently running then the plugin falls back - to regular incremental compilation. To configure which port to connect - to, if Zinc is running on a non-default port, use the "zincPort" - configuration option. -

-
-

The incremental compiler will compile both Scala and Java sources, rather From 9e939abf500c361e7391ca220dac8d0194848ee9 Mon Sep 17 00:00:00 2001 From: brandonbyskov Date: Sun, 21 Jun 2020 13:36:38 -0400 Subject: [PATCH 2/2] Update documentation references to Zinc homepage --- src/site/xdoc/example_incremental.xml.vm | 2 +- src/site/xdoc/faq.xml.vm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/site/xdoc/example_incremental.xml.vm b/src/site/xdoc/example_incremental.xml.vm index 10ad7e31..823e7069 100644 --- a/src/site/xdoc/example_incremental.xml.vm +++ b/src/site/xdoc/example_incremental.xml.vm @@ -8,7 +8,7 @@

Incremental compilation is supported using - Zinc, + Zinc, a stand-alone version of sbt's incremental compiler.

diff --git a/src/site/xdoc/faq.xml.vm b/src/site/xdoc/faq.xml.vm index 75b873da..9f9df911 100644 --- a/src/site/xdoc/faq.xml.vm +++ b/src/site/xdoc/faq.xml.vm @@ -12,7 +12,7 @@
Why does the maven plugin compile both Java and Scala sources
-
The Zinc incremental compilation library needs access to both Java and Scala sources to accurately determine recompilation. +
The Zinc incremental compilation library needs access to both Java and Scala sources to accurately determine recompilation.