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
package info.schleichardt.learning.akka | |
import akka.actor._ | |
import akka.routing.RoundRobinRouter | |
object SimpleApp extends App { | |
val system = ActorSystem("MySystem") | |
val listener = system.actorOf(Props[Listener], name = "listener") | |
val master = system.actorOf(Props(new Master(listener)), name = "master") |
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
import sbt._ | |
import Keys._ | |
import sbt.Classpaths.publishTask | |
/* code for https://groups.google.com/forum/?fromgroups=#!searchin/simple-build-tool/m2/simple-build-tool/BLir3V_3ajY/YQZ5vobWatoJ | |
title: publish-local to both .m2 and .ivy2 | |
use "sbt pl" to publish to both local repositories | |
*/ | |
object DemoBuild extends Build { |
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
.* | |
*.out | |
*~ | |
*# | |
*#.* | |
*.bak | |
build | |
*.cache | |
*.class | |
*.classtmp |
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
target | |
.lib |
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
target |
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
answer for stackoverflow question http://stackoverflow.com/questions/13859600/how-to-call-a-template-which-accepts-variable-number-of-args-in-play-framework-2/13869483#13869483 |
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
logs | |
project/project | |
project/target | |
target | |
tmp | |
.history | |
dist | |
/.idea | |
/*.iml | |
/out |
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
logs | |
project/project | |
project/target | |
target | |
tmp | |
.history | |
dist | |
/.idea | |
/*.iml | |
/out |
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
import sbt._ | |
import Keys._ | |
import PlayProject._ | |
object ApplicationBuild extends Build { | |
val appName = "so13921168" | |
val appVersion = "1.0-SNAPSHOT" | |
val appDependencies = Seq( |
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
package controllers; | |
import play.api.libs.ws.Response; | |
import play.api.libs.ws.WS$; | |
import play.libs.F; | |
import play.libs.WS; | |
import play.mvc.*; | |
public class Application extends Controller { |
OlderNewer