This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Copyright (C) 2009-2010 Scalable Solutions AB <http://scalablesolutions.se>. | |
| */ | |
| package sample.chat | |
| import scala.collection.mutable.HashMap | |
| import akka.actor.{Actor, ActorRef} | |
| import akka.stm._ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name := "AkkaSampleChat" | |
| version := "1.0" | |
| scalaVersion := "2.9.1" | |
| resolvers += "Typesafe Repository" at "http://repo.typesafe.com/typesafe/releases/" | |
| libraryDependencies ++= Seq( | |
| "se.scalablesolutions.akka" % "akka-actor" % "1.2", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| SBT_HOME="$(cd "$(cd "$(dirname "$0")"; pwd -P)"; pwd)" | |
| JAVA_OPTS="-Dfile.encoding=UTF8 -Xmx1536M -Xss1M -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=256m" | |
| java $JAVA_OPTS -jar "$SBT_HOME/sbt-launch.jar" "$@" |