Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Won't Fix
-
1.4.14
-
None
Description
tests.rb includes code that determines its behaviour according to the Scala version in use. The Scalatest jar dependency is hard-wired to an old version.
So suppose I want to use scalatest_2.10-1.9.2.jar, I can't.
A simple work-around in tests.rb around line 92 would be to expand it to
VERSION = case
when Buildr::Scala.version?(2.7)
'1.3'
when Buildr::Scala.version?(2.9)
'1.8'
else
'1.9.2'
end
This would help me right now, but simply postpones the problem.
A better solution might be to detect scalatest.jar on the dependencies for test and not use a default unless scalatest was missing.