How do you launch jetty? If it's an eclipse maven launch, specify JRebel in the JVM arguments. For command-line maven, specify it in the MAVEN_OPTS environment variable. If you launch via sbt (assuming there's such a thing) then you have to check the sbt docs. Ultimately the command line that launches java.exe (or equivalent) to run jetty should have -noverify -javaagent:path/to/jrebel.jar in it. If the question was about sbt with eclipse, there's a plugin that provides sbt dependencies as classpath container. It is indeed very convenient to use JRebel. Most changes are viewable immediately (though at times reloading classes is slow). Exceptions are significant changes to a class like implementing a new interface (and due to scala's abundance of syntactic sugar these are more often than you'd thin), and changes to things set in Boot, since it's only run once. That doesn't include functions etc. defined in Boot--if you pass a PartialFunction to a LiftRules configuration, changes to its body will be reflected immediately.
------------------------------------- jlist9<[email protected]> wrote: Thanks. "The Eclipse incremental compiler, Jetty & the JRebel plugin makes for fairly rapid turnaround times." This is interesting. I wonder if there are instructions somewhere online about how to use Eclipse + sbt + JRebel for Lift development. The Lift Get Started Guide mentions a lot of start and stop Jetty. The impression I got from reading it is that's how Lift development is done. I'm sure there is a better way :-) On Mon, Jan 18, 2010 at 12:44 PM, Jeppe Nejsum Madsen <[email protected]> wrote: > Hi, > > A while ago, I started writing an experience report on using Scala & > Lift. I finally finished this (it has been a little more than 6 months > now, time is flying :-) > > http://jeppenejsum.wordpress.com/2010/01/18/scala-and-lift-status-after-six-months/ > > /Jeppe > > -- > You received this message because you are subscribed to the Google Groups > "Lift" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/liftweb?hl=en. > > > > -- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en. -- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.
