etorreborre/specs — Issue #5: Corrupt jar for 2.8.2-1.6.8
Author: rossabaker
Created: 2012-01-14 03:27:45+00:00
State: open

Tried to post to specs-users, but I don't think it got through.

I'm having problems with specs2_2.8.2-1.6.8. sbt update:

[info] downloading http://repo1.maven.org/maven2/org/scala-tools/testing/specs_2.8.2/1.6.8/specs_2.8.2-1.6.8.jar ...
[warn] [FAILED ] org.scala-tools.testing#specs_2.8.2;1.6.8!specs_2.8.2.jar: invalid sha1: expected=4f29a5b629d7719d5a3faf6c5672d0e10b1d7c1b computed=08a4b5762e6696ec8df4e2e9769baec40b473a0e (4984ms)

I confirmed the same with wget and sha1sum. If I disable checksum verification and try to use the jar, I get this:

scala> class FooSpec extends Specification
error: error while loading Specification, invalid distance too far back
:8: error: illegal inheritance;
self-type FooSpec does not conform to org.specs.Specification's selftype org.specs.Specification
class FooSpec extends Specification

scala> Class.forName("org.specs.Specification")
java.lang.ClassNotFoundException: org.specs.Specification

Yeah, I know, old Specs, old Scala version, but it'd sure tidy up the cross-builds if this worked. :-)