fix eclipse build: config/ is gone, must not depend on it

This commit is contained in:
Roland 2011-12-28 16:50:57 +01:00
parent 05e11b6fa3
commit 6f721ec106
2 changed files with 1 additions and 5 deletions

View file

@ -303,7 +303,7 @@ class ActorDocSpec extends AkkaSpec(Map("akka.loglevel" -> "INFO")) {
class WatchActor extends Actor { class WatchActor extends Actor {
val child = context.actorOf(Props.empty, "child") val child = context.actorOf(Props.empty, "child")
context.watch(child) // <-- this is the only call needed for registration context.watch(child) // <-- this is the only call needed for registration
var lastSender = system.deadLetters var lastSender = system.deadLetters
def receive = { def receive = {

View file

@ -314,10 +314,6 @@ object AkkaBuild extends Build {
if (true || (System getProperty "java.runtime.version" startsWith "1.7")) Seq() else Seq("-optimize")), // -optimize fails with jdk7 if (true || (System getProperty "java.runtime.version" startsWith "1.7")) Seq() else Seq("-optimize")), // -optimize fails with jdk7
javacOptions ++= Seq("-Xlint:unchecked", "-Xlint:deprecation"), javacOptions ++= Seq("-Xlint:unchecked", "-Xlint:deprecation"),
// add config dir to classpaths
unmanagedClasspath in Runtime <+= (baseDirectory in LocalProject("akka")) map { base => Attributed.blank(base / "config") },
unmanagedClasspath in Test <+= (baseDirectory in LocalProject("akka")) map { base => Attributed.blank(base / "config") },
parallelExecution in Test := System.getProperty("akka.parallelExecution", "true").toBoolean, parallelExecution in Test := System.getProperty("akka.parallelExecution", "true").toBoolean,
// for excluding tests by name (or use system property: -Dakka.test.names.exclude=TimingSpec) // for excluding tests by name (or use system property: -Dakka.test.names.exclude=TimingSpec)