diff --git a/akka-core/src/main/scala/dispatch/ThreadPoolBuilder.scala b/akka-core/src/main/scala/dispatch/ThreadPoolBuilder.scala index 55755250e2..6f8da64073 100644 --- a/akka-core/src/main/scala/dispatch/ThreadPoolBuilder.scala +++ b/akka-core/src/main/scala/dispatch/ThreadPoolBuilder.scala @@ -34,6 +34,7 @@ trait ThreadPoolBuilder { def buildThreadPool(): Unit = synchronized { ensureNotActive inProcessOfBuilding = false + threadPoolBuilder.allowCoreThreadTimeOut(true) if (boundedExecutorBound > 0) { val boundedExecutor = new BoundedExecutorDecorator(threadPoolBuilder, boundedExecutorBound) boundedExecutorBound = -1 diff --git a/akka-core/src/test/resources/logback-test.xml b/config/logback-test.xml similarity index 100% rename from akka-core/src/test/resources/logback-test.xml rename to config/logback-test.xml diff --git a/project/build/AkkaProject.scala b/project/build/AkkaProject.scala index 7140c40895..e0874b9e9c 100644 --- a/project/build/AkkaProject.scala +++ b/project/build/AkkaProject.scala @@ -269,16 +269,17 @@ class AkkaParentProject(info: ProjectInfo) extends DefaultProject(info) { " dist/akka-jta_%s-%s.jar".format(buildScalaVersion, version) ) - override def runClasspath = super.runClasspath +++ - descendents(info.projectPath / "config", "*") - //Exclude slf4j1.5.11 from the classpath, it's conflicting... override def fullClasspath(config: Configuration): PathFinder = { - super.fullClasspath(config) --- (super.fullClasspath(config) ** "slf4j*1.5.11.jar") + super.fullClasspath(config) --- + (super.fullClasspath(config) ** "slf4j*1.5.11.jar") } override def mainResources = super.mainResources +++ - descendents(info.projectPath / "config", "*") + descendents(info.projectPath / "config", "*") --- + (info.projectPath / "config" / "logback-test.xml") + + override def testResources = super.testResources +++ (info.projectPath / "config" / "logback-test.xml") // ------------------------------------------------------------ // publishing