aboutsummaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authorIsmael Juma <ismael@juma.me.uk>2011-09-27 00:04:59 +0100
committerIsmael Juma <ismael@juma.me.uk>2011-09-27 00:04:59 +0100
commit7e92ef9d198a90f21b322bc5d21fbb9d9ec0b2b8 (patch)
treed2733ad8ff0bb6341637effc92b53b1abaf530f2 /project
parent4019305afeba847221dc3c8e00c16fa26bda56cd (diff)
downloadspark-7e92ef9d198a90f21b322bc5d21fbb9d9ec0b2b8.tar.gz
spark-7e92ef9d198a90f21b322bc5d21fbb9d9ec0b2b8.tar.bz2
spark-7e92ef9d198a90f21b322bc5d21fbb9d9ec0b2b8.zip
Add workaround for bug in SBT (issue #206).
Diffstat (limited to 'project')
-rw-r--r--project/SparkBuild.scala5
1 files changed, 4 insertions, 1 deletions
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"