major facelift: -!-> and -?-> appear

- rename projects to akka-channels and akka-channels-tests
- move implementation into akka.channels.macros package
- remove picking up ActorRef as sender (or none at all)
- factor out logic to make different façades acting upon Future[] or Any
  so that -!-> and -?-> can complement the traditional <-!- and <-?-
- the new operators are easily distinguishable from !/? and the
  rightwards-pointing go with the flow and compose better, let’s try
  them out
This commit is contained in:
Roland 2013-01-22 22:50:09 +01:00
parent cfcc9da9bc
commit e862890ded
18 changed files with 718 additions and 572 deletions

View file

@ -73,7 +73,7 @@ object AkkaBuild extends Build {
generatedPdf in Sphinx <<= generatedPdf in Sphinx in LocalProject(docs.id) map identity
),
aggregate = Seq(actor, testkit, actorTests, dataflow, remote, remoteTests, camel, cluster, slf4j, agent, transactor, mailboxes, zeroMQ, kernel, akkaSbtPlugin, osgi, osgiAries, docs, contrib, samples, macros, macroTests)
aggregate = Seq(actor, testkit, actorTests, dataflow, remote, remoteTests, camel, cluster, slf4j, agent, transactor, mailboxes, zeroMQ, kernel, akkaSbtPlugin, osgi, osgiAries, docs, contrib, samples, channels, channelsTests)
)
lazy val actor = Project(
@ -409,19 +409,19 @@ object AkkaBuild extends Build {
)
) configs (MultiJvm)
lazy val macros = Project(
id = "akka-macros",
base = file("akka-macros"),
lazy val channels = Project(
id = "akka-channels",
base = file("akka-channels"),
dependencies = Seq(actor),
settings = defaultSettings ++ Seq(
libraryDependencies <+= (scalaVersion)("org.scala-lang" % "scala-reflect" % _)
)
)
lazy val macroTests = Project(
id = "akka-macro-tests",
base = file("akka-macro-tests"),
dependencies = Seq(macros, testkit % "compile;test->test"),
lazy val channelsTests = Project(
id = "akka-channels-tests",
base = file("akka-channels-tests"),
dependencies = Seq(channels, testkit % "compile;test->test"),
settings = defaultSettings ++ Seq(
libraryDependencies <+= (scalaVersion)("org.scala-lang" % "scala-compiler" % _)
)