Lift 2.0 and Scala 2.8

2 views
Skip to first unread message

Ross Mellgren

unread,
Mar 22, 2010, 7:28:15 PM3/22/10
to liftweb
Hey all,

There was recently a question and associated thread on the committers' mailing list regarding what to do about Scala 2.8 and Lift 2.0.

Currently, we have two SNAPSHOTs:
- 2.0-SNAPSHOT which uses Scala 2.7.7 and is on the branch "master"
- 2.0-scala280-SNAPSHOT which uses Scala 2.8.0.Beta1 and is on the branch "280_port_refresh"

We're plugging our way towards the Lift 2.0 release, but it's still some months away, which should means that the Scala 2.8 RC release will be done in the mean time. EPFL would really like to increase 2.8 adoption, and given the nature of Lift and Scala, they'd like us to start using 2.8 by the 2.0 release.

So, here's a proposal (any committers jump in if my summary isn't correct):
- Once the Scala 2.8 RC comes out, Lift switches 2.0-SNAPSHOT to use that; that is, the "master" branch will be Scala 2.8. This means that Lift SNAPSHOTs, and the final Lift 2.0 release will _default_ to Scala 2.8.
- At the same time, we create a new branch, and associated snapshot (call it 2.0-scala277-SNAPSHOT for the purposes of conversation)
- Up until the Lift 2.0 release, we'll keep the two versions in sync like we are now for the Scala 2.8 branch.
- After Lift 2.0 goes out, we'll backport important fixes on to the Scala 2.7 version. The next major Lift release (3.0?) will be Scala 2.8 only.

What this will mean is that once Scala 2.8 RC is released, by default all new Lift projects will be on Scala 2.8, and that any existing projects using the SNAPSHOT will need to either port to Scala 2.8 or change the version they depend on from 2.0-SNAPSHOT to 2.0-scala277-SNAPSHOT.

The advantages:
- Making it the default increases adoption and ensures the main Lift branch and Scala 2.8 are the most stable possible
- If we come up with some fancy new module that is Scala 2.8 only for whatever reason, we can put that in the main version of Lift. Of course we'll try to make anything new both Scala 2.7 and 2.8 compatible as much as possible.

What does everyone think?

-Ross

P.S. The Scala 2.8 RC isn't due out for a bit, so it's not going to happen in the next couple weeks (as far as I know).

czerwonka

unread,
Mar 22, 2010, 7:59:12 PM3/22/10
to Lift
We need access to Scala 2.8. The beta has been out and starting new
projects on the 2.7.x branch seems like a make-work project given the
incompatibility issues and more importantly the significant changes,
e.g., with nested annotations in 2.8, we can finally start using JPA.

The Play Framework is leveraging 2.8 in their Scala module and it
actually works quite well.

Heiko Seeberger

unread,
Mar 23, 2010, 2:39:03 AM3/23/10
to lif...@googlegroups.com
Hi,

On 23 March 2010 00:28, Ross Mellgren <dri...@gmail.com> wrote:

What does everyone think?

I have got a client running against the current 2.8 branch and we are keen on 2.8 as the "master version".
 
P.S. The Scala 2.8 RC isn't due out for a bit, so it's not going to happen in the next couple weeks (as far as I know).

In a recent message to the scala-internals list, Martin sais: "We are currently busy fixing bugs and plan to release a first RC either next week or the week after that." Hence it *is* going to happen in the next couple of weeks.

Heiko

Blog: heikoseeberger.name
Follow me: twitter.com/hseeberger
OSGi on Scala: scalamodules.org
Lift, the simply functional web framework: liftweb.net

Jeppe Nejsum Madsen

unread,
Mar 23, 2010, 4:46:36 AM3/23/10
to lif...@googlegroups.com
Sounds good!

/Jeppe

> --
> You received this message because you are subscribed to the Google Groups "Lift" group.
> To post to this group, send email to lif...@googlegroups.com.
> To unsubscribe from this group, send email to liftweb+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.
>
>

Timothy Perrett

unread,
Mar 23, 2010, 5:19:00 AM3/23/10
to Lift
Heiko,

Your right - logic would dictate that EPFL look to release a proper
2.8 RC at Scala Days, so I would foresee some pretty intensive work
taking place on 2.8 in the run up to that event in order to make this
happen.

Great proposal Ross - lets do it.

Cheers, Tim

On Mar 23, 6:39 am, Heiko Seeberger <heiko.seeber...@googlemail.com>
wrote:

TylerWeir

unread,
Mar 23, 2010, 10:56:24 AM3/23/10
to Lift
>> - Once the Scala 2.8 RC comes out, Lift switches 2.0-SNAPSHOT to use that; that is, the "master" branch will be Scala 2.8.

+1 to this decision.

Stuart Roebuck

unread,
Mar 23, 2010, 11:48:04 AM3/23/10
to Lift
Sounds good. +1
Reply all
Reply to author
Forward
0 new messages