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 > 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. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
