New ScalaCheck builds

4 views
Skip to first unread message

Rickard Nilsson

unread,
Nov 8, 2009, 10:00:49 AM11/8/09
to scala...@googlegroups.com
Hi,

I have made some new builds of ScalaCheck available at the
scala-tools.org repository.

ScalaCheck 1.6 has been built with Scala 2.7.7 and is available
at http://www.scala-tools.org/repo-releases as the following
artifact:

group id: org.scala-tools.testing
version: 1.6
artifact id: scalacheck_2.7.7

ScalaCheck 1.7-SNAPSHOT has been built with Scala
2.8.0-20091106.025327. The build is available at
http://www.scala-tools.org/repo-snapshots as the
following artifact:

group id: org.scala-tools.testing
version: 1.7-SNAPSHOT

artifact id: scalacheck_2.8.0-20091106.025327-+

or

artifact id: scalacheck_2.8.0-SNAPSHOT


The jars are also available from the ScalaCheck
site, http://code.google.com/p/scalacheck/downloads .


Regards,
Rickard Nilsson

Francois

unread,
Nov 8, 2009, 11:18:26 AM11/8/09
to scala...@googlegroups.com
On 08/11/2009 16:00, Rickard Nilsson wrote:
> I have made some new builds of ScalaCheck available at the
> scala-tools.org repository.

Hello !

Thanks for these new build, they seems to work great with last 2.8.

But it seems something bad happen we the "scalacheck_2.8.0-SNAPSHOT"
version. With that one, I get "missing class VectorLike" errors (because
it was renamed some days ago).

Everything is OK with "scalacheck_2.8.0-20091106.025327-+", but I can't
use it with maven (it complains that it doesn't understand the "-+")
(well, I have to lie to maven by downloading by hand
scalacheck_2.8.0-20091106.025327-+ and coping it in place of
scalacheck_2.8.0-SNAPSHOT)

Moreover, the two jar's size differ.

Hope it helps,

--
Francois Armand

Rickard Nilsson

unread,
Nov 9, 2009, 3:20:14 AM11/9/09
to scala...@googlegroups.com
I'll make a new SNAPSHOT build as soon as possible. The 2.8.0-SNAPSHOT
version that SBT grabbed was probably older than 20091106.025327 then.

Thanks for noticing this!


Regards,
Rickard

Rickard Nilsson

unread,
Nov 10, 2009, 9:55:12 AM11/10/09
to scala...@googlegroups.com
Quoting "Rickard Nilsson" <rick...@gmail.com>:

>
> Quoting Francois <fan...@gmail.com>:
>
>>
>> On 08/11/2009 16:00, Rickard Nilsson wrote:
>>> I have made some new builds of ScalaCheck available at the
>>> scala-tools.org repository.
>>
>> Hello !
>>
>> Thanks for these new build, they seems to work great with last 2.8.
>>
>> But it seems something bad happen we the "scalacheck_2.8.0-SNAPSHOT"
>> version. With that one, I get "missing class VectorLike" errors (because
>> it was renamed some days ago).
>>
>> Everything is OK with "scalacheck_2.8.0-20091106.025327-+", but I can't
>> use it with maven (it complains that it doesn't understand the "-+")
>> (well, I have to lie to maven by downloading by hand
>> scalacheck_2.8.0-20091106.025327-+ and coping it in place of
>> scalacheck_2.8.0-SNAPSHOT)
>>
>> Moreover, the two jar's size differ.
>
>
> I'll make a new SNAPSHOT build as soon as possible. The 2.8.0-SNAPSHOT
> version that SBT grabbed was probably older than 20091106.025327 then.

I have deployed a new SNAPSHOT build now.

/ Rickard

Bill Venners

unread,
Nov 14, 2009, 7:33:10 AM11/14/09
to scala...@googlegroups.com, scalate...@googlegroups.com
Hi Rickard,

I have the following compiler error compiling ScalaTest against
scalacheck_2.8.0-20091106.025327-+-1.7-SNAPSHOT.jar using
scala-2.8.0.Beta1-RC1. Can you let me know how to fix these problems?
Also, is there ScalaDoc anywhere of the 1.7 snapshot release?

Thanks.

Bill

compile-main:
[scalac] Compiling 137 source files to
/Users/bv/nobkp/delus/stForScala2.8g/target/jar_contents
[scalac] /Users/bv/nobkp/delus/stForScala2.8g/src/main/scala/org/scalatest/prop/Checkers.scala:99:
error: value property is not a member of object org.scalacheck.Prop
[scalac] check(Prop.property(f)(p, a1, s1))
[scalac] ^
[scalac] /Users/bv/nobkp/delus/stForScala2.8g/src/main/scala/org/scalatest/prop/Checkers.scala:114:
error: value property is not a member of object org.scalacheck.Prop
[scalac] check(Prop.property(f)(p, a1, s1, a2, s2))
[scalac] ^
[scalac] /Users/bv/nobkp/delus/stForScala2.8g/src/main/scala/org/scalatest/prop/Checkers.scala:130:
error: value property is not a member of object org.scalacheck.Prop
[scalac] check(Prop.property(f)(p, a1, s1, a2, s2, a3, s3))
[scalac] ^
[scalac] /Users/bv/nobkp/delus/stForScala2.8g/src/main/scala/org/scalatest/prop/Checkers.scala:147:
error: value property is not a member of object org.scalacheck.Prop
[scalac] check(Prop.property(f)(p, a1, s1, a2, s2, a3, s3, a4, s4))
[scalac] ^
[scalac] /Users/bv/nobkp/delus/stForScala2.8g/src/main/scala/org/scalatest/prop/Checkers.scala:165:
error: value property is not a member of object org.scalacheck.Prop
[scalac] check(Prop.property(f)(p, a1, s1, a2, s2, a3, s3, a4,
s4, a5, s5))
[scalac] ^
[scalac] /Users/bv/nobkp/delus/stForScala2.8g/src/main/scala/org/scalatest/prop/Checkers.scala:184:
error: value property is not a member of object org.scalacheck.Prop
[scalac] check(Prop.property(f)(p, a1, s1, a2, s2, a3, s3, a4,
s4, a5, s5, a6, s6))
[scalac] ^
[scalac] /Users/bv/nobkp/delus/stForScala2.8g/src/main/scala/org/scalatest/prop/Checkers.scala:335:
error: class Arg takes type parameters
[scalac] private def prettyArgs(args: List[Arg]) = {
[scalac] ^
[scalac] /Users/bv/nobkp/delus/stForScala2.8g/src/main/scala/org/scalatest/prop/Checkers.scala:338:
error: value label is not a member of A
[scalac] (if (a.label == "") "ARG_" + i else a.label) +
[scalac] ^
[scalac] error: class file needed by Test is missing.
[scalac] reference type Throwable of object Predef refers to
nonexisting symbol.
[scalac] 9 errors found
--
Bill Venners
Artima, Inc.
http://www.artima.com

Rickard Nilsson

unread,
Nov 14, 2009, 3:15:47 PM11/14/09
to scala...@googlegroups.com, scalate...@googlegroups.com
Hi Bill,

The Prop.property method was deprecated in ScalaCheck 1.5
and removed in ScalaCheck 1.6. It has been replaced with
Prop.forAll. You should have seen that error also when you
built with 1.6... Anyway, just try to use Prop.forAll instead,
it should work.

The javadocs for the snapshot release are published together
with the other jars at the scala-tools maven repository. The
direct link is:

http://scala-tools.org/repo-snapshots/org/scala-tools/testing/scalacheck_2.8.0-20091106.025327-%252B/1.7-SNAPSHOT/scalacheck_2.8.0-20091106.025327-%252B-1.7-SNAPSHOT-javadoc.jar

There's unfortunately no browsable version available for 1.7.


Regards,
Rickard

Reply all
Reply to author
Forward
0 new messages