[slf4j-dev] Cross Building SLF4S against Scala versions

Ceki Gülcü ceki at qos.ch
Thu Sep 9 21:41:31 CEST 2010


On 08/09/2010 8:19 AM, Heiko Seeberger wrote:
> Hi Ceki,
>
> Different Scala versions are binary incompatible and I don't believe
> that will change in the near future, even if Martin has said that once.
> IMHO 2.8.1 will not be binary compatible with 2.8.0. And 2.8.2 won't be
> with 2.8.1 nor with  2.8.0. And of course neither of these is compatible
> with 2.7.x. If you are interested in the reasons, you will find numerous
> resources on the web, e.g. [1] or [2]. Maybe starting from 2.9 EPFL will
> manage to solve that issue.

I hope they do.

[cut]

> Akka has not yet been released (only milestones) and therefore they can
> target only one Scala version. But they already do it the style I
> described, i.e. they are ready for multiple versions. Lift already does
> builds against 2.7.7 and 2.8.0. And there will be others.
>
> For something as widespread as SLF4J there in NO WAY not supporting
> 2.7.7 plus 2.8.0 plus 2.8.x. It just must be cross-built.

Indeed.

> So your (d) is not an option, but as I already mentioned I hope to find
> a Maven based solution.

and you have... Nicely done.

> Heiko
>
> [1]
> http://stackoverflow.com/questions/2053265/scala-binary-incompatibility-between-releases

So it seems that traits are the culprit.

--
Ceki



More information about the slf4j-dev mailing list