Open
Description
Hi!
I started using WebJars with our project today to load ReactJS. jsTest
started to fail with the following exception:
[info] Writing jasmine2 assets...
org.webjars.MultipleMatchesException: Multiple matches found for jasmine.js. Please provide a more specific path, for example by including a version number.
at org.webjars.WebJarAssetLocator.getFullPath(WebJarAssetLocator.java:259)
at org.webjars.WebJarAssetLocator.getFullPath(WebJarAssetLocator.java:189)
at com.joescii.sbtjs.SbtJsTestTasks$.writeJasmineAssets(SbtJsTestTasks.scala:69)
at com.joescii.sbtjs.SbtJsTestTasks$.com$joescii$sbtjs$SbtJsTestTasks$$runTests(SbtJsTestTasks.scala:135)
at com.joescii.sbtjs.SbtJsTestTasks$$anonfun$3.apply(SbtJsTestTasks.scala:150)
at com.joescii.sbtjs.SbtJsTestTasks$$anonfun$3.apply(SbtJsTestTasks.scala:147)
...
Jasmine tests were executing fine before adding WebJars to build.sbt
build.sbt:
libraryDependencies ++= Seq(
"org.webjars" %% "webjars-play" % "2.4.0-1",
"org.webjars" % "react" % "0.13.3"
)
plugins.sbt:
...
libraryDependencies += "org.webjars.bower" % "jasmine" % "2.4.1" % "runtime"
addSbtPlugin("com.joescii" % "sbt-js-test" % "0.1.0")
...
addSbtPlugin("com.github.ddispaltro" % "sbt-reactjs" % "0.5.2")
Metadata
Metadata
Assignees
Labels
No labels