Merge pull request #703 from akka/wip-cluster-docs-patriknw

Lots of cluster documentation
This commit is contained in:
Patrik Nordwall 2012-09-20 04:05:40 -07:00
commit 51a962fbee
26 changed files with 1401 additions and 90 deletions

View file

@ -328,11 +328,20 @@ object AkkaBuild extends Build {
)
lazy val clusterSample = Project(
id = "akka-sample-cluster",
id = "akka-sample-cluster-experimental",
base = file("akka-samples/akka-sample-cluster"),
dependencies = Seq(cluster),
settings = defaultSettings ++ Seq( publishArtifact in Compile := false )
)
dependencies = Seq(cluster, remoteTests % "compile;test->test;multi-jvm->multi-jvm", testkit % "test->test"),
settings = defaultSettings ++ multiJvmSettings ++ Seq(
// disable parallel tests
parallelExecution in Test := false,
extraOptions in MultiJvm <<= (sourceDirectory in MultiJvm) { src =>
(name: String) => (src ** (name + ".conf")).get.headOption.map("-Dakka.config=" + _.absolutePath).toSeq
},
scalatestOptions in MultiJvm := defaultMultiJvmScalatestOptions,
jvmOptions in MultiJvm := defaultMultiJvmOptions,
publishArtifact in Compile := false
)
) configs (MultiJvm)
lazy val docs = Project(
id = "akka-docs",

View file

@ -1,11 +0,0 @@
#!/usr/bin/env bash
#
# Utility to make log files from multi-node tests easier to analyze.
# Replaces jvm names and host:port with corresponding logical role name.
#
# check for an sbt command
type -P sbt &> /dev/null || fail "sbt command not found"
sbt "project akka-remote-tests" "test:run-main akka.remote.testkit.LogRoleReplace $1 $2"