Open arbimo opened 10 years ago
Fairly simple fix is to use the latest version for Scala 2.10, which is 3.1.RC1 right now. This will allow you to build and run, but the unit tests seem to be broken, so I haven't tried submitting a patch yet. ScalaMock 3.1.RC1 is the only "released" version that supports ScalaTest 2.x
The temporary fix if you just want to run the notebook as-is is to replace line 158 in build.sbt with: val scalaMock = "org.scalamock" %% "scalamock-scalatest-support" % "3.1.RC1" % "test"
Hi @paulp, was it your own fork of ScalaMock?
D'oh. When I was writing that patch scalamock had some kind of deal breaking bug against 2.10 and I forked it to work around that. I didn't mean to submit it in retaining a reference to my fork.
I haven't paid that much attention but I believe the motivating bug has since been fixed in the primary repository, so you might be able to just restore the reference.
@alexy I'll send a PR.
Thanks Paul! When run your new branch from SBT (project server; run) I get a blank screen in the browser...
It works for me (OSX, java8, chrome.)
Had to run compile
in sbt, apparently just doing project server; run
on a virginal checkout is not enough. Now see stuff! One thing is, if I run the cell, the result replaces the original expression after a second delay; is this intentional?
I'm the wrong guy to ask; I ported it to 2.10 but I am not a user of it.
Cool. The main thing it compiles and runs and all the dependencies are fresh, thanks for the updates!
Ah right, the default behavior is to hide the input: https://github.com/Bridgewater/scala-notebook/issues/23.
The ScalaMock github repository doesn't seem to exist anymore, which prevents sbt from loading the project.