Skip to content

Commit

Permalink
Minor refinements.
Browse files Browse the repository at this point in the history
  • Loading branch information
chicagoscala committed Apr 20, 2011
1 parent 9b6fb8a commit f3ae071
Show file tree
Hide file tree
Showing 6 changed files with 53 additions and 117 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -4,3 +4,4 @@ src_managed/
boot/
logs/
*.class
.scala_dependencies
3 changes: 3 additions & 0 deletions SeductionsOfScala/code-examples/actors/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

159 changes: 45 additions & 114 deletions SeductionsOfScala/code-examples/actors/.idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Expand Up @@ -2,7 +2,8 @@ import sbt._
import sbt.CompileOrder._
import de.element34.sbteclipsify._

class ActorExample(info: ProjectInfo) extends DefaultProject(info) with AkkaProject with IdeaProject with Eclipsify with Exec {
class ActorExample(info: ProjectInfo) extends DefaultProject(info)
with AkkaProject with IdeaProject with Eclipsify with Exec {

lazy val EmbeddedRepo = MavenRepository("Embedded Repo", (info.projectPath / "embedded-repo").asURL.toString)
lazy val LocalMavenRepo = MavenRepository("Local Maven Repo", (Path.userHome / ".m2" / "repository").asURL.toString)
Expand Down
Expand Up @@ -20,7 +20,7 @@
# FQN to the class doing initial active object/actorsupervisor bootstrap, etc.,
# which does its work in the default constructor.
# "AWSE" ==> "AkkaWebSampleExercise"
boot = ["org.chicagoscala.awse.boot.BootAWSE"]
boot = ["org.Boot"]

<actor>
timeout = 1000 # default timeout for future based invocations
Expand Down
Expand Up @@ -9,7 +9,7 @@ class ShapeDrawingActor extends Actor {
s.draw()
self.reply("Shape drawn.")

case "exit" =>
case "exit" =>
println("-> exiting...")
self.reply("good bye!")

Expand Down

0 comments on commit f3ae071

Please sign in to comment.