application.conf for Scala SBT Akka Actors

I was wondering.. where do you put the application.conf file that configures actors in a file? I’m trying to do what is being done here but SBT is not picking up on the file – I was under the impression that SBT will find the application.conf and automatically add it to my -classpath. I currently have application.conf in /project/application.conf

The error I’m getting is:

[ERROR] [04/11/2012 16:08:13.174] [HittingTimeSystem-akka.actor.default-dispatcher-2] [akka://HittingTimeSystem/user/master] error while creating actor
akka.config.ConfigurationException:router Actor[akka://HittingTimeSystem/user/master/workerRouter] needs external configuration from file (e.g. application.conf)

Thanks! -kstruct

Cluster Akka/Scala actors

can someone point me to the right content to learn about distributing Akka scala actors across several machines. I know that in the latest release of Akka there is location transparency. However, how

Relation between Akka and scala.actors in 2.10

The Scala 2.10 release notes says this: Akka Actors now part of the distribution. The original Scala actors are now deprecated. The latest Akka library (Akka 2.1.0 for Scala 2.10) mentions the

Dead-letter in Akka Scala actors

I have a very simple structure based on Akka actors in Scala, but I keep on receiving warnings about undelivered messages. This is the code for the main class, Collector is a separate class extending

Turning Scala Actors To Akka Actors: One Instance To Call Methods On

Recently I was switching from scala actors to akka actors, but noticed that akka actors use ActorRef instead of the instance object: val actorRef: ActorRef = Actor.actorOf(new MyActor) So I tried: va

How to migrate Input/OutputChannel from Scala Actors to Akka?

According to this guide: http://docs.scala-lang.org/overviews/core/actors-migration-guide.html scala.actors._ -> akka.actor._ However there does not seeem to be InputChannel/OutputChannel/Channel.

Akka actors unit testing with Scala

I’m fairly new to Scala so please be gentle. In the app I’m currently building, I’m using Akka actors and I want to write some unit tests. I came across this official documentation for writing unit te

sbt: how should a library depend upon scala-actors?

We have an internal library that uses scala-actors 2.10.x. It has this in its build.sbt libraryDependencies <++= scalaVersion(v => Seq(org.scala-lang % scala-actors % v) ) This library was

Porting simple Scala remote actor example to Akka actors

I try to port this simple actor example of sending Ping and Pong from Scala actors to Akka actors, but I keep getting errors and I wonder if it is just a simple error or some fundamental fault. Co

Scala Akka Actors Example compilation error

Tried compiling this example https://github.com/akka/akka/blob/master/akka-samples/akka-sample-fsm/src/main/scala/DiningHakkersOnFsm.scala#L1, using Eclipse. Came back with an error on the last few l

Why does SBT’s Scala (2.10) not include Akka?

I downloaded Scala 2.10.2, unpacked it and run Scala command, I can successfully import akka._. In another experiment, I create an sbt project with the following line in build.sbt: scalaVersion := 2.

Answers

It should end up on the classpath if you put it in src/main/resources/application.conf