Closed GoogleCodeExporter closed 9 years ago
This looks like SBT bug. ScalaFX do not directly depend on `hamcrest-core`,
indirectly through `junit`. It only happens if `hamcrest-core` is not in ivy
cache.
A work around is to make SBT download `hamcrest-core`. In an empty directory
create `build.sbt` with a single line in it:
libraryDependencies += "junit" % "junit" % "4.11"
Run `sbt update` in that directory. It will download `junit` and
`hamcrest-core` into ivy cache. After that the `ScalaFX` build works fine.
This should be reported to SBT as a bug.
Original comment by jpsacha
on 3 Jan 2014 at 4:46
That worked, thanks! Also had to set JAVAFX_HOME environment variable same as
java sdk root.
Original comment by razvan.p...@gmail.com
on 3 Jan 2014 at 4:53
Original issue reported on code.google.com by
razvan.p...@gmail.com
on 30 Dec 2013 at 6:51