Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d900166

Browse files
Test locally built scala parser-combinators classes.
Somehow, the scala-parser-combinators classes used to run tests were not the local ones, even though there is no dependency on scala-compiler nor on anything that depends on scala-parser-combinators. After some head-scratching, I discovered scala/scala-xml#20. Now I am even more confused, but at least `fork in Test := true` does prevent this evil classloader magic.
1 parent b8dbefc commit d900166

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎build.sbt‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ scalaModuleOsgiSettings
1313

1414
OsgiKeys.exportPackage := Seq(s"scala.util.parsing.*;version=${version.value}")
1515

16+
// needed to fix classloader issues (see scala-xml#20)
17+
fork in Test := true
18+
1619
libraryDependencies += "junit" % "junit" % "4.11" % "test"
1720

1821
libraryDependencies += "com.novocode" % "junit-interface" % "0.10" % "test"

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /