Merge pull request #1987 from akka/wip-3568-doc-multi-jvm-options-patriknw

=doc #3568 Clarify JVM options of sbt-multi-jvm
This commit is contained in:
Patrik Nordwall 2014-02-13 12:12:30 +01:00
commit 1a7249de00

View file

@ -227,20 +227,21 @@ You can define specific JVM options for each of the spawned JVMs. You do that by
a file named after the node in the test with suffix ``.opts`` and put them in the same a file named after the node in the test with suffix ``.opts`` and put them in the same
directory as the test. directory as the test.
For example, to feed the JVM options ``-Dakka.remote.port=9991`` to the ``SampleMultiJvmNode1`` For example, to feed the JVM options ``-Dakka.remote.port=9991`` and ``-Xmx256m`` to the ``SampleMultiJvmNode1``
let's create three ``*.opts`` files and add the options to them. let's create three ``*.opts`` files and add the options to them. Separate multiple options with
space.
``SampleMultiJvmNode1.opts``:: ``SampleMultiJvmNode1.opts``::
-Dakka.remote.port=9991 -Dakka.remote.port=9991 -Xmx256m
``SampleMultiJvmNode2.opts``:: ``SampleMultiJvmNode2.opts``::
-Dakka.remote.port=9992 -Dakka.remote.port=9992 -Xmx256m
``SampleMultiJvmNode3.opts``:: ``SampleMultiJvmNode3.opts``::
-Dakka.remote.port=9993 -Dakka.remote.port=9993 -Xmx256m
ScalaTest ScalaTest
========= =========