Re: [Lift] Re: scala eclipse plugin with lift
I am finally able to use the plugin. I noticed the plugin version is 2.7.7 and that the lift project scala version was 2.7.3 so I changed the scala version to 2.7.7 It works now. Actually I am not sure this was the change that made it work because just before I restarted eclipse and it already seemed to work. On Wed, Nov 18, 2009 at 7:27 AM, Miles Sabin wrote: > On Wed, Nov 18, 2009 at 12:17 PM, Marius wrote: > > It interpreted my scala code as java out of the sudden. I tried the > > JDT weving trick and nothing. > > If you had JDT weaving enabled then only way you would see Scala code > interpreted as Java is if the .project file included the Java builder. > That only happens when you use Maven to generate your project > metadata. > > So please report this issue to whoever is responsible for that Maven > behaviour. > > Cheers, > > > Miles > > -- > Miles Sabin > tel: +44 (0)7813 944 528 > skype: milessabin > http://www.chuusai.com/ > http://twitter.com/milessabin > > -- > > You received this message because you are subscribed to the Google Groups > "Lift" group. > To post to this group, send email to lift...@googlegroups.com. > To unsubscribe from this group, send email to > liftweb+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/liftweb?hl=. > > > -- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to lift...@googlegroups.com. To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/liftweb?hl=.
Re: [Lift] Re: scala eclipse plugin with lift
On Wed, Nov 18, 2009 at 12:17 PM, Marius wrote: > It interpreted my scala code as java out of the sudden. I tried the > JDT weving trick and nothing. If you had JDT weaving enabled then only way you would see Scala code interpreted as Java is if the .project file included the Java builder. That only happens when you use Maven to generate your project metadata. So please report this issue to whoever is responsible for that Maven behaviour. Cheers, Miles -- Miles Sabin tel: +44 (0)7813 944 528 skype: milessabin http://www.chuusai.com/ http://twitter.com/milessabin -- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to lift...@googlegroups.com. To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/liftweb?hl=.
[Lift] Re: scala eclipse plugin with lift
Glad to hear that Miles. 2.7.7 eclipse plugin made me switch to emacs. It interpreted my scala code as java out of the sudden. I tried the JDT weving trick and nothing. I'm quite pleased with emacs the only thing I miss is the auto- completion for class methods but that never worked consistently for me in the Eclipse Scala plugin either. Of course I'll come back to eclipse when it is in a better shape. Br's, Marius On Nov 18, 1:54 pm, Miles Sabin wrote: > On Wed, Nov 18, 2009 at 7:25 AM, Francois Armand wrote: > > What plugin version are you using ? There is a 2.7 version of the plugin > > that has to be used with Lift. This version is notoriously buggy, slow > > and not maintained. > > > The new Eclipse plugin version, which only target Scala 2.8, is far far > > better (and is become better days after days). It is not production > > ready yet (compared to say the Java editor of Eclipse), but I begin to > > think that it will be good (from usable today) in a near future. > > There's only one Eclipse IDE and it's very much maintained ... that > 2.8 branch that you're getting such good results from is precisely the > result of that work. > > It's clearly come on a long way since 2.7.x, but many people are > working with 2.7.x very successfully. > > Cheers, > > Miles > > -- > Miles Sabin > tel: +44 (0)7813 944 528 > skype: milessabinhttp://www.chuusai.com/http://twitter.com/milessabin -- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to lift...@googlegroups.com. To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/liftweb?hl=.
[Lift] Re: scala eclipse plugin with lift
I share Chris's sentiment. The 2.7.x eclipse plugin has been unusably unstable in my experience. My current dev setup: text editor with syntax highlighting and two terminals running sbt term one: sbt, then ~prepare-webapp (continuous compilation and deployment) term two: sbt-rebel jetty (start jetty and dynamically reload classes with java rebel) my sbt-rebel script looks like: java -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=256m -noverify - javaagent:/path/to/jrebel.jar -Xmx512m -jar ~/bin/sbt-launcher.jar "$@" get sbt: http://code.google.com/p/simple-build-tool/wiki/Setup create project: http://code.google.com/p/simple-build-tool/wiki/WebApplicationExample get your free javarebel license here: http://www.zeroturnaround.com/scala-license/ - Jon On Nov 17, 10:53 pm, Chris Lewis wrote: > I can't say I enjoy eclipse for scala code, but did you make sure your > project has the Scala Nature? > > > > Oscar Picasso wrote: > > Hi, > > > I did import a new created lift project in a eclipse as a maven project. > > The project is recognized as a scala project but there is neither syntax > > syntax highlighting nor auto completion while it works fine, in the same > > workspace when I create directly a scala project with the scala eclipse > > plugin. > > > Any idea? > > > -- > > > You received this message because you are subscribed to the Google > > Groups "Lift" group. > > To post to this group, send email to lift...@googlegroups.com. > > To unsubscribe from this group, send email to > > liftweb+unsubscr...@googlegroups.com. > > For more options, visit this group at > >http://groups.google.com/group/liftweb?hl=. -- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to lift...@googlegroups.com. To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/liftweb?hl=.