Re: [Lift] Re: [scala-internals] RC5 candidate for the first 2.8.0 beta

2009-12-22 Thread martin odersky
On Tue, Dec 22, 2009 at 7:12 PM, Paul Phillips wrote: > On Tue, Dec 22, 2009 at 05:45:52PM +0100, martin odersky wrote: >> But I need to know how to build lift with a 2.8.0 compiler. Or >> alternatively, if a kind soul can send me a lift 2.8.0 tarball with >> all the classfiles in there I can take

Re: [Lift] Re: [scala-internals] RC5 candidate for the first 2.8.0 beta

2009-12-22 Thread Paul Phillips
On Tue, Dec 22, 2009 at 05:45:52PM +0100, martin odersky wrote: > But I need to know how to build lift with a 2.8.0 compiler. Or > alternatively, if a kind soul can send me a lift 2.8.0 tarball with > all the classfiles in there I can take it from there. FYI until you have git you can always dow

Re: [Lift] Re: [scala-internals] RC5 candidate for the first 2.8.0 beta

2009-12-22 Thread Indrajit Raychaudhuri
Finally! Onward ... - Indrajit On 22/12/09 11:29 PM, martin odersky wrote: > On Tue, Dec 22, 2009 at 6:48 PM, martin odersky > wrote: >> I found someone who could download the repository with git. So trying >> again now. > > ... and it builds with RC3. Great! So now I have something to work wit

Re: [Lift] Re: [scala-internals] RC5 candidate for the first 2.8.0 beta

2009-12-22 Thread Indrajit Raychaudhuri
On 22/12/09 11:06 PM, martin odersky wrote: > On Tue, Dec 22, 2009 at 6:24 PM, Indrajit Raychaudhuri > wrote: >> >> On 22/12/09 10:44 PM, martin odersky wrote: >>> >>> On Tue, Dec 22, 2009 at 6:09 PM, Indrajit Raychaudhuri >>> wrote: Martin, I think the jetty version is

Re: [Lift] Re: [scala-internals] RC5 candidate for the first 2.8.0 beta

2009-12-22 Thread martin odersky
On Tue, Dec 22, 2009 at 6:48 PM, martin odersky wrote: > I found someone who could download the repository with git. So trying > again now. ... and it builds with RC3. Great! So now I have something to work with ... Cheers -- Martin -- You received this message because you are subscribed to

Re: [Lift] Re: [scala-internals] RC5 candidate for the first 2.8.0 beta

2009-12-22 Thread martin odersky
I found someone who could download the repository with git. So trying again now. -- Martin On Tue, Dec 22, 2009 at 6:36 PM, martin odersky wrote: > On Tue, Dec 22, 2009 at 6:24 PM, Indrajit Raychaudhuri > wrote: >> >> On 22/12/09 10:44 PM, martin odersky wrote: >>> >>> On Tue, Dec 22, 2009 at

Re: [Lift] Re: [scala-internals] RC5 candidate for the first 2.8.0 beta

2009-12-22 Thread martin odersky
On Tue, Dec 22, 2009 at 6:24 PM, Indrajit Raychaudhuri wrote: > > On 22/12/09 10:44 PM, martin odersky wrote: >> >> On Tue, Dec 22, 2009 at 6:09 PM, Indrajit Raychaudhuri >>  wrote: >>> >>> Martin, >>> >>> I think the jetty version is incorrect in the pom.xml in test:sample. >>> >>> It should be:

Re: [Lift] Re: [scala-internals] RC5 candidate for the first 2.8.0 beta

2009-12-22 Thread Indrajit Raychaudhuri
On 22/12/09 10:44 PM, martin odersky wrote: > On Tue, Dec 22, 2009 at 6:09 PM, Indrajit Raychaudhuri > wrote: >> Martin, >> >> I think the jetty version is incorrect in the pom.xml in test:sample. >> >> It should be: >> >> org.mortbay.jetty >> jetty >> [6.1.6,7.0) >> > ..

Re: [Lift] Re: [scala-internals] RC5 candidate for the first 2.8.0 beta

2009-12-22 Thread Indrajit Raychaudhuri
Must be effect of some scala.version property set somewhere. do "mvn -Dscala.version=2.8.0.Beta1-RC5" to enforce a different version. - Indrajit On 22/12/09 10:43 PM, martin odersky wrote: > On Tue, Dec 22, 2009 at 6:09 PM, Indrajit Raychaudhuri > wrote: >> Martin, >> >> I think the jetty vers

Re: [Lift] Re: [scala-internals] RC5 candidate for the first 2.8.0 beta

2009-12-22 Thread Ross Mellgren
http://www.dridus.com/liftweb-compiled-280.tar.gz It is still uploading -- it totals 240,976,056 bytes and should be completely uploaded in 15 minutes. -Ross On Dec 22, 2009, at 11:45 AM, martin odersky wrote: > I just verified that it did indeed use 2.7.7, because the generated > classfiles

Re: [Lift] Re: [scala-internals] RC5 candidate for the first 2.8.0 beta

2009-12-22 Thread martin odersky
On Tue, Dec 22, 2009 at 6:09 PM, Indrajit Raychaudhuri wrote: > Martin, > > I think the jetty version is incorrect in the pom.xml in test:sample. > > It should be: > >        org.mortbay.jetty >        jetty >        [6.1.6,7.0) > ... and, which test:sample are you referring to? Thanks -- Marti

Re: [Lift] Re: [scala-internals] RC5 candidate for the first 2.8.0 beta

2009-12-22 Thread martin odersky
On Tue, Dec 22, 2009 at 6:09 PM, Indrajit Raychaudhuri wrote: > Martin, > > I think the jetty version is incorrect in the pom.xml in test:sample. > > It should be: > >        org.mortbay.jetty >        jetty >        [6.1.6,7.0) > > See if that works. > But even then I only get a 2.7.7 build, whic

Re: [Lift] Re: [scala-internals] RC5 candidate for the first 2.8.0 beta

2009-12-22 Thread Indrajit Raychaudhuri
Martin, I think the jetty version is incorrect in the pom.xml in test:sample. It should be: org.mortbay.jetty jetty [6.1.6,7.0) See if that works. Regards, Indrajit On 22/12/09 10:14 PM, martin odersky wrote: > Thanks for all the help. I tried to do > > mvn clean >

Re: [Lift] Re: [scala-internals] RC5 candidate for the first 2.8.0 beta

2009-12-22 Thread martin odersky
I just verified that it did indeed use 2.7.7, because the generated classfiles still have version 4.1. My new strategy is to build with the last working RC3, and then recompile just the failing file with the current compiler and all lift classes on the classpath. That should work. But I need to k

Re: [Lift] Re: [scala-internals] RC5 candidate for the first 2.8.0 beta

2009-12-22 Thread martin odersky
Thanks for all the help. I tried to do mvn clean mvn install After upgrading to maven 2.2.1, I got somewhere. It compiled a bunch of packages including lift-mapper, so it seems it did not in fact take RC6 as its compiler? But then it stopped due to a build error here. Any idea what I need to do

Re: [Lift] Re: [scala-internals] RC5 candidate for the first 2.8.0 beta

2009-12-22 Thread Indrajit Raychaudhuri
Ok, this one works just fine, and involves least effort among the ones proposed. - Indrajit On 22/12/09 8:11 PM, Heiko Seeberger wrote: > Martin, > > OK, now I got it working (almost) without Maven: > > 1. step: > Check out 280_port branch from g...@github.com:dpp/liftweb.git > > 2. step: > cd i

Re: [Lift] Re: [scala-internals] RC5 candidate for the first 2.8.0 beta

2009-12-22 Thread Indrajit Raychaudhuri
Martin/Heiko, Great if this works. Alternately, you can also use maven ant plugin to complete avoid doing the Maven way. Here is the sequence: 1. Do "mvn ant:ant" at the top level. This should generate all the requisite files necessary for ant build. 2. Look for the pathelement entry in mave

[Lift] Re: [scala-internals] RC5 candidate for the first 2.8.0 beta

2009-12-22 Thread David Pollak
Martin, You can download a tarball from: http://github.com/dpp/liftweb/tree/280_port/ Go to that page and look for the "download" button. You'll be presented with the option of tar or zip. I'll also send you the tarball privately. Thanks, David On Tue, Dec 22, 2009 at 5:12 AM, martin odersky

Re: [Lift] Re: [scala-internals] RC5 candidate for the first 2.8.0 beta

2009-12-22 Thread David Bernard
Kevin, maven-scala-plugin integrate a workaround (see note of previous mail) against the line-length limit : arguments of the main class are store in a file. /davidB On Tue, Dec 22, 2009 at 15:45, Kevin Wright wrote: > > > 2009/12/22 David Bernard > > Dirty solutions (If you already have maven

[Lift] Re: [scala-internals] RC5 candidate for the first 2.8.0 beta

2009-12-22 Thread martin odersky
On Tue, Dec 22, 2009 at 3:41 PM, Heiko Seeberger wrote: > Martin, > OK, now I got it working (almost) without Maven: > 1. step: > Check out 280_port branch from ...@github.com:dpp/liftweb.git > 2. step: > cd into liftweb/lift-persistence/lift-mapper and run > mvn dependency:copy-dependencies > 3.

Re: [Lift] Re: [scala-internals] RC5 candidate for the first 2.8.0 beta

2009-12-22 Thread Kevin Wright
2009/12/22 David Bernard > Dirty solutions (If you already have maven installed and be able to build > lift with maven) : > > 0. replace > $HOME/.m2/repository/org/scala-lang/scala-compiler/2.8.0-SNAPSHOT/scala-compiler-2.8.0-SNAPSHOT.jar > by symlink to the directory with classes result from sca

[Lift] Re: [scala-internals] RC5 candidate for the first 2.8.0 beta

2009-12-22 Thread Heiko Seeberger
Martin, OK, now I got it working (almost) without Maven: 1. step: Check out 280_port branch from g...@github.com:dpp/liftweb.git 2. step: cd into liftweb/lift-persistence/lift-mapper and run mvn dependency:copy-dependencies 3. step: run the following command -classpath `find target/dependency

Re: [Lift] Re: [scala-internals] RC5 candidate for the first 2.8.0 beta

2009-12-22 Thread David Bernard
Dirty solutions (If you already have maven installed and be able to build lift with maven) : 0. replace $HOME/.m2/repository/org/scala-lang/scala-compiler/2.8.0-SNAPSHOT/scala-compiler-2.8.0-SNAPSHOT.jar by symlink to the directory with classes result from scalac scalac compilation 1. Or at the e

[Lift] Re: [scala-internals] RC5 candidate for the first 2.8.0 beta

2009-12-22 Thread martin odersky
On Tue, Dec 22, 2009 at 2:35 PM, Josh Suereth wrote: > For curiousities sake, if you're building using fsc, are you running scalac > via an exploded classpath (i.e. not a JAR file?).  If so, I'll try to come > up with a longer-term solution for this. Yes, exactly. My usual setup is that my output

[Lift] Re: [scala-internals] RC5 candidate for the first 2.8.0 beta

2009-12-22 Thread Kevin Wright
Another possibility is to specify scala as a system dependency in Lift's pom: http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#System_Dependencies Then hard code the path that scalac's being built into. put maven in offline mode as well, and it should be nice a

[Lift] Re: [scala-internals] RC5 candidate for the first 2.8.0 beta

2009-12-22 Thread Josh Suereth
For curiousities sake, if you're building using fsc, are you running scalac via an exploded classpath (i.e. not a JAR file?). If so, I'll try to come up with a longer-term solution for this. If we allowed you to do the following: mvn reactor:make -Dmake.artifacts=net.liftweb:lift-mapper -P local

[Lift] Re: [scala-internals] RC5 candidate for the first 2.8.0 beta

2009-12-22 Thread martin odersky
On Tue, Dec 22, 2009 at 2:01 PM, Josh Suereth wrote: > I think staying in maven would require the least amount of typing, but the > most amount of time as you'd have to publish local snapshots of Scala 2.8.0 > to use them in the lift build.  I remember how annoying this is ;).   Also > note that d

[Lift] Re: [scala-internals] RC5 candidate for the first 2.8.0 beta

2009-12-22 Thread Josh Suereth
I think staying in maven would require the least amount of typing, but the most amount of time as you'd have to publish local snapshots of Scala 2.8.0 to use them in the lift build. I remember how annoying this is ;). Also note that deploying maven requires a full scala build, but if needed I ca

[Lift] Re: [scala-internals] RC5 candidate for the first 2.8.0 beta

2009-12-22 Thread David Pollak
I'm cc'ing this to the Lift list. Perhaps Indrajit or another Maven guru can help out. On Tue, Dec 22, 2009 at 2:32 AM, martin odersky wrote: > On Tue, Dec 22, 2009 at 11:11 AM, Heiko Seeberger > wrote: > > 2009/12/22 martin odersky > >> > >> Annoying... Just to explain what goes on here. Betw