Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use resourceDirectory instead of classDirectory

classDirectory is dependent on crossTarget which varies with scalaVersion even within run.
This ends up being problematic since SBT tasks happen concurrently.
  • Loading branch information...
commit ac9281102c1af7dd73a890b61d5edde422b38199 1 parent 9a78397
@indrajitr indrajitr authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 project/Build.scala
View
4 project/Build.scala
@@ -148,8 +148,8 @@ object BuildDef extends Build {
.dependsOn(json_ext)
.settings(parallelExecution in Test := false,
libraryDependencies += mongo_driver,
- initialize in Test <<= (classDirectory in Test) { cdir =>
- System.setProperty("java.util.logging.config.file", (cdir / "logging.properties").absolutePath)
+ initialize in Test <<= (resourceDirectory in Test) { rd =>
+ System.setProperty("java.util.logging.config.file", (rd / "logging.properties").absolutePath)
})
lazy val mongodb_record =
Please sign in to comment.
Something went wrong with that request. Please try again.