From 956ec5990f0ac8600cac54a18399aa1398920ed5 Mon Sep 17 00:00:00 2001 From: Viktor Klang Date: Mon, 24 Sep 2012 12:07:22 +0200 Subject: [PATCH 1/4] #2536 - Fixing docs and making sure test artifacts are published for Akka Mailboxes Common --- akka-docs/rst/modules/durable-mailbox.rst | 4 ++-- project/AkkaBuild.scala | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/akka-docs/rst/modules/durable-mailbox.rst b/akka-docs/rst/modules/durable-mailbox.rst index 794ff0e751..c166d20510 100644 --- a/akka-docs/rst/modules/durable-mailbox.rst +++ b/akka-docs/rst/modules/durable-mailbox.rst @@ -94,10 +94,10 @@ added in concrete subclass like this: .. includecode:: code/docs/actor/mailbox/DurableMailboxDocSpec.scala :include: custom-mailbox-test -You find DurableMailboxDocSpec in ``akka-mailboxes-common-test-2.1-SNAPSHOT.jar``. +You find DurableMailboxDocSpec in ``akka-mailboxes-common-2.1-SNAPSHOT-test.jar``. Add this dependency:: - "com.typesafe.akka" % "akka-mailboxes-common-test" % "2.1-SNAPSHOT" + "com.typesafe.akka" % "akka-mailboxes-common-test" % "2.1-SNAPSHOT" classifier "test" For more inspiration you can look at the old implementations based on Redis, MongoDB, Beanstalk, and ZooKeeper, which can be found in Akka git repository tag diff --git a/project/AkkaBuild.scala b/project/AkkaBuild.scala index b53f681f0e..1c703122fa 100644 --- a/project/AkkaBuild.scala +++ b/project/AkkaBuild.scala @@ -206,7 +206,6 @@ object AkkaBuild extends Build { settings = defaultSettings ++ OSGi.mailboxesCommon ++ Seq( libraryDependencies ++= Dependencies.mailboxes, previousArtifact := akkaPreviousArtifact("akka-mailboxes-common"), - // DurableMailboxSpec published in akka-mailboxes-common-test publishArtifact in Test := true ) ) From de433d112b0ab941ae1fb38d6480323074de6baa Mon Sep 17 00:00:00 2001 From: Viktor Klang Date: Mon, 24 Sep 2012 14:03:08 +0200 Subject: [PATCH 2/4] Fixing version string and crossVersion string and artifact id --- akka-docs/rst/modules/durable-mailbox.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/akka-docs/rst/modules/durable-mailbox.rst b/akka-docs/rst/modules/durable-mailbox.rst index c166d20510..848f9807e3 100644 --- a/akka-docs/rst/modules/durable-mailbox.rst +++ b/akka-docs/rst/modules/durable-mailbox.rst @@ -97,7 +97,7 @@ added in concrete subclass like this: You find DurableMailboxDocSpec in ``akka-mailboxes-common-2.1-SNAPSHOT-test.jar``. Add this dependency:: - "com.typesafe.akka" % "akka-mailboxes-common-test" % "2.1-SNAPSHOT" classifier "test" + "com.typesafe.akka" %% "akka-mailboxes-common" % "@version@" classifier "test" @crossString@ For more inspiration you can look at the old implementations based on Redis, MongoDB, Beanstalk, and ZooKeeper, which can be found in Akka git repository tag From 7875cbc75993ed8cf1e8479a69a9a2e9a30e3315 Mon Sep 17 00:00:00 2001 From: Viktor Klang Date: Mon, 24 Sep 2012 14:24:19 +0200 Subject: [PATCH 3/4] Removing weird artifact id in durable mailbox.rst --- akka-docs/rst/modules/durable-mailbox.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/akka-docs/rst/modules/durable-mailbox.rst b/akka-docs/rst/modules/durable-mailbox.rst index 848f9807e3..154352c4f0 100644 --- a/akka-docs/rst/modules/durable-mailbox.rst +++ b/akka-docs/rst/modules/durable-mailbox.rst @@ -94,7 +94,7 @@ added in concrete subclass like this: .. includecode:: code/docs/actor/mailbox/DurableMailboxDocSpec.scala :include: custom-mailbox-test -You find DurableMailboxDocSpec in ``akka-mailboxes-common-2.1-SNAPSHOT-test.jar``. +To use ``DurableMailboxDocSpec``: Add this dependency:: "com.typesafe.akka" %% "akka-mailboxes-common" % "@version@" classifier "test" @crossString@ From 6a5c2d418ca88b39ea0d1e608e0585f8da927e06 Mon Sep 17 00:00:00 2001 From: Viktor Klang Date: Mon, 24 Sep 2012 14:37:24 +0200 Subject: [PATCH 4/4] Docs reformatting for adding the durable mailbox test fixture --- akka-docs/rst/modules/durable-mailbox.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/akka-docs/rst/modules/durable-mailbox.rst b/akka-docs/rst/modules/durable-mailbox.rst index 154352c4f0..f76cee0dbd 100644 --- a/akka-docs/rst/modules/durable-mailbox.rst +++ b/akka-docs/rst/modules/durable-mailbox.rst @@ -94,8 +94,7 @@ added in concrete subclass like this: .. includecode:: code/docs/actor/mailbox/DurableMailboxDocSpec.scala :include: custom-mailbox-test -To use ``DurableMailboxDocSpec``: -Add this dependency:: +To use ``DurableMailboxDocSpec`` add this dependency:: "com.typesafe.akka" %% "akka-mailboxes-common" % "@version@" classifier "test" @crossString@