Migration to Scala 2.8

1 view
Skip to first unread message

Grzegorz Kossakowski

unread,
May 10, 2010, 6:33:01 PM5/10/10
to gimd-d...@googlegroups.com
Hello,

I was working on migration to Scala 2.8 in parallel with the work on
Lucene integration.

The migration was rather smooth and resulted in this branch:

http://github.com/gkossakowski/gimd/tree/scala-2.8

Which compiles and passes all tests with Scala 2.8.0.RC1.

However when I tried to merge my lucene integration branch:

http://github.com/gkossakowski/gimd/tree/lucene

I've run into problems described in ticket 3363
(http://lampsvn.epfl.ch/trac/scala/ticket/3363) and I was forced to
use my own build of Scala compiler.

While this is possible with Maven it's not very convenient (as
anything with Maven). Having seen good presentation on Simple Build
Tool at Scala Days I decided to play with it for a while.

It turned out that migration is super easy and it took me only around
15 minutes (ok, Gimd is a samll project). What I found was a really
well-designed build system which is much faster than Maven, provides
very good continuous compilation and testing.

Basically I have fallen in love with sbt which led me to creating this branch:

http://github.com/gkossakowski/gimd/tree/sbt

This enabled me to easily create this branch:

http://github.com/gkossakowski/gimd/tree/lucene-scala-2.8-sbt

Which is my all effort merged together.

Now that it's been proven that migration to both Scala 2.8.0 and Sbt
0.7.3 makes perfect sense I need to clean-up the history a little bit
and it will be ready for review.

At the end I should mention that one other benefit from migrating to
Scala 2.8.0 is ability to use improved version of Eclipse plug-in for
Scala which is much, much better than one for 2.7.7.

Scala folks promised to include fix for the bug I mentioned above in
RC3 of compiler so quite soon Gimd will be depending only on released
artifacts.

Meanwhile, I can find detailed instructions how to build Gimd's source here:

http://github.com/gkossakowski/gimd/blob/lucene-scala-2.8-sbt/README

--
Best regards,
Grzegorz Kossakowski
Reply all
Reply to author
Forward
0 new messages