[slf4j-dev] Cross Building SLF4S against Scala versions

Heiko Seeberger heiko.seeberger at googlemail.com
Tue Sep 7 20:08:02 CEST 2010


Hi,

Other than Java, Scala software must use the same Scala version for build
and runtime. Because of this binary incompatibility Scala projects must be
built against different Scala versions, also known as cross building. There
is excellent support for cross building in SBT [1], but ASFAIK not in the
Maven Scala plugin.

As we will probably see Scala 2.8.1 end of this year and milestones and
release candidates even earlier, this is an important issue for SLF4S. How
could we deal with that?

(a) Switch the whole build from Maven to SBT: Not sure if that makes sense
for a +95% Java project
(b) Try to only build slf4j-scala with SBT: No clue how to integrate SBT and
Maven; also publishing/deploying will be an issue due to different naming
strategies for artifacts [2]
(c) Keep things as they are, i.e. SLF4S as a separate Scala project

I hope someone comes up with a (d) ...

Heiko

[1] http://code.google.com/p/simple-build-tool/wiki/CrossBuild
[2] http://code.google.com/p/simple-build-tool/wiki/LibraryManagement

Company: weiglewilczek.com
Blog: heikoseeberger.name
Follow me: twitter.com/hseeberger
OSGi on Scala: scalamodules.org
Lift, the simply functional web framework: liftweb.net
Akka - Simpler Scalability, Fault-Tolerance, Concurrency & Remoting through
Actors: akkasource.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/slf4j-dev/attachments/20100907/b5ec6daf/attachment.html>


More information about the slf4j-dev mailing list