On Thu, Jul 9, 2009 at 9:27 AM, Kevin Wright <[email protected]>wrote:
> The fabled 2.8 eclipse plugin will be the one to use when it's here, should > be any day now... This is normally my cue to rant about the state of the Eclipse plugin. First some background... I've been part of the Scala community for nearly 3 years. Ever since I joined the community, the "new, better, stable, working" Eclipse plugin was just a few months away. Last year, Miles took over development of the plugin and has made significant progress... the plugin doesn't suck beyond all belief, it's now merely unstable and generally doesn't play well with the likes of Maven (when used from the command line). Miles has relatively improved the plugin in amazing ways, but at the absolute level, there are still exceptions logged for mousing over virtually every element in my apps and I find Eclipse unusable for Lift or Lift-related development. A few weeks ago, Martin Odersky announced that he was going to focus his efforts on the Eclipse plugin. Martin is one of the best computer scientists and one of the best programmers in the world. I am finally looking forward to excellent progress on the Eclipse plugin front. But, until Martin's magic brain has yielded code for us, I would recommend avoiding Eclipse for Scala and Lift related development. For newbies, I suggest using TextMate, Emacs, or vi. You don't need much more for Lift development than those tools. There's less to get in your way with a text editor. I use 25% emacs, 60% NetBeans and 15% IntelliJ for my development. My fingers know Emacs better than everything else. NetBeans has the best error reporting of any of editors. IntelliJ has the best code navigation and intellisense of any of the editors. Thanks, David > > > > On Thu, Jul 9, 2009 at 5:14 PM, Ellis <[email protected]> wrote: > >> >> Hi Dan, >> >> I don't have an answer to your question, but maybe a suggestion. >> Eclipse does not work well with maven/scala/lift, and I really doubt >> it will anytime soon. According to exchanges on this list, IntelliJ >> IDEA apparently has the best working implementation so far. I've been >> using NetBeans 6.7 for a couple weeks now, and I like it better than >> Eclipse (which I've used for years). It works a better with maven, >> and a little bit better with scala. Neither environment handles >> testing, debugging, or refactoring smoothly though. >> >> Anyhow, with NetBeans you can just open the maven pom directly. >> You'll have to create some custom "actions" in order to get your >> programs to launch, and entering debug mode a bit of a pain. >> >> Cheers, >> Ellis >> >> >> On Jul 9, 3:02 pm, Dan Gravell <[email protected]> wrote: >> > I'm trying to learn about lift using the eclipse plugin but not really >> > getting far... Currently trying to build a project hangs eclipse which >> > is obviously something of a shortcoming. >> > >> > Eclipse 3.4.2 >> > Scala plugin 2.7.5 >> > Maven plugin Q4E (IAM) 0.10.... >> > >> > So I create a new lift project externally using maven and the >> > instructions >> > athttp://wiki.liftweb.net/index.php/Chore_wheel(I<http://wiki.liftweb.net/index.php/Chore_wheel%28I> >> > believe this is the way to do it, I've tried other approaches but I >> > didn't really find anything that could be classed as canonical) did a >> > 'mvn eclipse:eclipse' and imported it into eclipse. That's when it >> > hangs, because Eclipse tries to build straight away. >> > >> > It hangs when it says: >> > >> > Starting mojoExecution scala:compile >> > >> > ... in the progress bar. Meanwhile, in a different VM I notice the >> > following process has begun: >> > >> > /usr/java/jdk1.6.0_12/jre/bin/java -classpath /home/gravelld/.m2/ >> > repository/org/scala-lang/scala-compiler/2.7.3/scala- >> > compiler-2.7.3.jar:/home/gravelld/.m2/repository/org/scala-lang/scala- >> > library/2.7.3/scala-library-2.7.3.jar:/home/gravelld/.m2/repository/ >> > org/scala-tools/maven-scala-plugin/2.11/maven-scala-plugin-2.11.jar - >> > Xbootclasspath/a:/home/gravelld/.m2/repository/org/scala-lang/scala- >> > library/2.7.3/scala-library-2.7.3.jar >> > org.scala_tools.maven.executions.MainWithArgsInFile >> > scala.tools.nsc.Main /tmp/scala-maven-1418794117226686986.args >> > >> > But this doesn't appear to complete. Is this what the eclipse builder >> > is waiting for? I can actually run the above from the command line and >> > it returns in a couple of seconds. >> > >> > Interestingly, when working through the 'todo' example there was a >> > period when it appeared to work, but going back to it today appears to >> > show the same issue above. >> > >> > Really hoping someone can help me out because this stuff looked >> > interesting. >> >> >> > > > > -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Git some: http://github.com/dpp --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
