mvn eclipse:eclipse doesn't seem to like scala. Why don't you initialize 
everything from the IAM GUI?

-------------------------------------
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 at http://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
-~----------~----~----~----~------~----~------~--~---

Reply via email to