diff options
author | Matei Zaharia <matei@eecs.berkeley.edu> | 2011-08-29 22:58:53 -0700 |
---|---|---|
committer | Matei Zaharia <matei@eecs.berkeley.edu> | 2011-08-29 22:59:18 -0700 |
commit | 9b7215d74a2333f02bf40975b062835841db868c (patch) | |
tree | 8444a0076815718c33a491b5c7f1fa6189c5200e /project | |
parent | 4cc5e51e28049c7f622006238aadfc3a3928cbfb (diff) | |
download | spark-9b7215d74a2333f02bf40975b062835841db868c.tar.gz spark-9b7215d74a2333f02bf40975b062835841db868c.tar.bz2 spark-9b7215d74a2333f02bf40975b062835841db868c.zip |
Only include JAR files in lib in the unmanaged classpath.
Diffstat (limited to 'project')
-rw-r--r-- | project/SparkBuild.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/project/SparkBuild.scala b/project/SparkBuild.scala index 4f68ca5fd9..d3a743360a 100644 --- a/project/SparkBuild.scala +++ b/project/SparkBuild.scala @@ -19,7 +19,7 @@ object SparkBuild extends Build { version := "0.4-SNAPSHOT", scalaVersion := "2.9.0-1", scalacOptions := Seq(/*"-deprecation",*/ "-unchecked", "-optimize"), // -deprecation is too noisy due to usage of old Hadoop API, enable it once that's no longer an issue - unmanagedJars in Compile <<= baseDirectory map { base => (base ** "*.jar").classpath }, + unmanagedJars in Compile <<= baseDirectory map { base => (base / "lib" ** "*.jar").classpath }, retrieveManaged := true, transitiveClassifiers in Scope.GlobalScope := Seq("sources"), testListeners <<= target.map(t => Seq(new eu.henkelmann.sbt.JUnitXmlTestsListener(t.getAbsolutePath))), |