From 7e92ef9d198a90f21b322bc5d21fbb9d9ec0b2b8 Mon Sep 17 00:00:00 2001 From: Ismael Juma Date: Tue, 27 Sep 2011 00:04:59 +0100 Subject: Add workaround for bug in SBT (issue #206). --- project/SparkBuild.scala | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'project/SparkBuild.scala') diff --git a/project/SparkBuild.scala b/project/SparkBuild.scala index 5f7aeb2051..33568befc0 100644 --- a/project/SparkBuild.scala +++ b/project/SparkBuild.scala @@ -28,7 +28,10 @@ object SparkBuild extends Build { "org.eclipse.jetty" % "jetty-server" % "8.0.1.v20110908", "org.scalatest" %% "scalatest" % "1.6.1" % "test", "org.scala-tools.testing" %% "scalacheck" % "1.9" % "test" - ) + ), + /* Workaround for issue #206 (fixed after SBT 0.11.0) */ + watchTransitiveSources <<= Defaults.inDependencies[Task[Seq[File]]](watchSources.task, + const(std.TaskExtra.constant(Nil)), aggregate = true, includeRoot = true) apply { _.join.map(_.flatten) } ) val slf4jVersion = "1.6.1" -- cgit v1.2.3