[Lift] Re: Recommended tools ?
I have tried it with a simple project. When importing the build path and dependencies are ok. But when I try to run or debug the application directly from Netbeans it actually launches: NetBeans: Executing '/opt/maven/bin/mvn -Dexec.args=-Xdebug -Djava.compiler=none -Xnoagent -Xrunjdwp:transport=dt_socket,server=n,address=34404 -classpath %classpath ${packageClassName} -Djpda.listen=true -Djpda.address=34404 -Dexec.executable=java process-classes org.codehaus.mojo:exec-maven-plugin:1.1:exec' And gives me the error: [compiler:compile] Nothing to compile - all classes are up to date [scala:compile {execution: default}] Compiling 1 source files to /home/oscar/netbeans/mavos/target/classes [WARNING] /home/oscar/netbeans/mavos/src/main/scala/org/mavos/Main.scala:10: error: identifier expected but 'object' found. [WARNING] object Main { [WARNING] ^ [WARNING] one error found Here I would prefer the run to be done as like with a scala project directly created with Netbeans. I thought I could configure it on right-click project > Properties but with a maven project a right click on a project raise an error. (I just sent more details on the scala-tools list) I guest it's a problem with the version of either NetBeans or the scala or maven plugins. Versions do you use for: - NetBeans - The Maven plugin - The scala plugin. On Sun, Nov 16, 2008 at 3:59 PM, David Bernard <[EMAIL PROTECTED]>wrote: > > Maven + Netbeans (+ maven module/plugin for netbeans) + scala work > like charm. after installing the netbeans maven plugin you simply open > your maven project like native netbeans project. > If you open a multi-module maven project, then you could see maven > sub-project into the modules section of your project : double clik => > open sub-project like a native netbeans modules,... > > I didn't try m2eclipse or Q4E since 1 year, and under eclipse I use > "external tools" to run maven (for java and scala project). But the > maven plugin for netbeans is the best integration I see. > > On Sun, Nov 16, 2008 at 01:38, David Pollak > <[EMAIL PROTECTED]> wrote: > > I do maven from the command line. DavidB knows about maven in netbeans > > > > On Nov 15, 2008 4:20 PM, "Derek Chen-Becker" <[EMAIL PROTECTED]> > wrote: > > > > Out of curiosity, how does Netbeans handle Maven projects, particularly > ones > > with nested modules? The most recent Eclipse plugin still has some warts, > > but it generally seems to work OK if I set up the .classpath file > properly > > to point at all of the source folders. > > > > Thanks, > > > > Derek > > > > On Sat, Nov 15, 2008 at 11:25 AM, David Pollak > > <[EMAIL PROTECTED]> wrote: > > I've bee... > > > > > > > > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com 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 -~--~~~~--~~--~--~---
[Lift] Re: Recommended tools ?
I fixed more bugs in NetBeans plugin during the week, it's much better on code-completion especially for Liftweb project now. I'll release it around the day when NetBeans 6.5 final released (scheduled on Nov 19). Of course, if you are the guys who use NetBeans nightly build version, you can get it updated at once. On Mon, Nov 17, 2008 at 4:59 AM, David Bernard <[EMAIL PROTECTED]> wrote: > > Maven + Netbeans (+ maven module/plugin for netbeans) + scala work > like charm. after installing the netbeans maven plugin you simply open > your maven project like native netbeans project. > If you open a multi-module maven project, then you could see maven > sub-project into the modules section of your project : double clik => > open sub-project like a native netbeans modules,... > > I didn't try m2eclipse or Q4E since 1 year, and under eclipse I use > "external tools" to run maven (for java and scala project). But the > maven plugin for netbeans is the best integration I see. > > On Sun, Nov 16, 2008 at 01:38, David Pollak > <[EMAIL PROTECTED]> wrote: >> I do maven from the command line. DavidB knows about maven in netbeans >> >> On Nov 15, 2008 4:20 PM, "Derek Chen-Becker" <[EMAIL PROTECTED]> wrote: >> >> Out of curiosity, how does Netbeans handle Maven projects, particularly ones >> with nested modules? The most recent Eclipse plugin still has some warts, >> but it generally seems to work OK if I set up the .classpath file properly >> to point at all of the source folders. >> >> Thanks, >> >> Derek >> >> On Sat, Nov 15, 2008 at 11:25 AM, David Pollak >> <[EMAIL PROTECTED]> wrote: > > I've bee... >> >> > >> > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com 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 -~--~~~~--~~--~--~---
[Lift] Re: Recommended tools ?
Maven + Netbeans (+ maven module/plugin for netbeans) + scala work like charm. after installing the netbeans maven plugin you simply open your maven project like native netbeans project. If you open a multi-module maven project, then you could see maven sub-project into the modules section of your project : double clik => open sub-project like a native netbeans modules,... I didn't try m2eclipse or Q4E since 1 year, and under eclipse I use "external tools" to run maven (for java and scala project). But the maven plugin for netbeans is the best integration I see. On Sun, Nov 16, 2008 at 01:38, David Pollak <[EMAIL PROTECTED]> wrote: > I do maven from the command line. DavidB knows about maven in netbeans > > On Nov 15, 2008 4:20 PM, "Derek Chen-Becker" <[EMAIL PROTECTED]> wrote: > > Out of curiosity, how does Netbeans handle Maven projects, particularly ones > with nested modules? The most recent Eclipse plugin still has some warts, > but it generally seems to work OK if I set up the .classpath file properly > to point at all of the source folders. > > Thanks, > > Derek > > On Sat, Nov 15, 2008 at 11:25 AM, David Pollak > <[EMAIL PROTECTED]> wrote: > > I've bee... > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com 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 -~--~~~~--~~--~--~---
[Lift] Re: Recommended tools ?
Right now I don't use the m2plugin in Eclipse, just the Scala plugin with an appropriate setup for source folders. It sounds like m2plugin and Scala still don't play nice. Derek On Sat, Nov 15, 2008 at 10:11 PM, Josh Suereth <[EMAIL PROTECTED]>wrote: > Not sure if this helps, but I've been succesfully using Eclipse + Q + > Multi-module projects + scala for several months now. Yes the scala plugin > is a bit flaky, but with some persuasion I can usually make it do what I > want. That being said, the presentation compiler tends to die on any > project more complex than the eclipse plugin itself... > > > -Josh > > On Sat, Nov 15, 2008 at 7:20 PM, Derek Chen-Becker <[EMAIL PROTECTED]>wrote: > >> Out of curiosity, how does Netbeans handle Maven projects, particularly >> ones with nested modules? The most recent Eclipse plugin still has some >> warts, but it generally seems to work OK if I set up the .classpath file >> properly to point at all of the source folders. >> >> Thanks, >> >> Derek >> >> >> On Sat, Nov 15, 2008 at 11:25 AM, David Pollak < >> [EMAIL PROTECTED]> wrote: >> >>> I've been using netbeans very succesfully. I recomend it. >>> >>> Thanks, >>> >>> David >>> >>> On Nov 15, 2008 8:53 AM, "Oscar Picasso" <[EMAIL PROTECTED]> wrote: >>> >>> Hi, >>> >>> Which tools would you recommend to work for a lift project, and more >>> generally with scala? >>> The requirement being that the project also uses maven. >>> >>> I have tried the Eclipse plugin a number of times and I found it too >>> unstable. >>> >>> The last Intellij IDEA plugin is decent, I was considering switching to >>> IDEA. Howver I ran lately in some issues. The more important being that if I >>> define implicits somewhere their containing folder keep loading... forever. >>> >>> I could use emacs but I would like some pretty formatting, code >>> completion and error checking. >>> >>> On a scala list post I read David P. explaining that there are a number >>> of decent tools to work with lift. Which ones? >>> >>> BTW: the lift wiki search does not work. It always returns a *No such >>> special page*. >>> >>> Oscar >>> >>> >>> >>> >>> >> >> >> > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com 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 -~--~~~~--~~--~--~---
[Lift] Re: Recommended tools ?
Not sure if this helps, but I've been succesfully using Eclipse + Q + Multi-module projects + scala for several months now. Yes the scala plugin is a bit flaky, but with some persuasion I can usually make it do what I want. That being said, the presentation compiler tends to die on any project more complex than the eclipse plugin itself... -Josh On Sat, Nov 15, 2008 at 7:20 PM, Derek Chen-Becker <[EMAIL PROTECTED]>wrote: > Out of curiosity, how does Netbeans handle Maven projects, particularly > ones with nested modules? The most recent Eclipse plugin still has some > warts, but it generally seems to work OK if I set up the .classpath file > properly to point at all of the source folders. > > Thanks, > > Derek > > > On Sat, Nov 15, 2008 at 11:25 AM, David Pollak < > [EMAIL PROTECTED]> wrote: > >> I've been using netbeans very succesfully. I recomend it. >> >> Thanks, >> >> David >> >> On Nov 15, 2008 8:53 AM, "Oscar Picasso" <[EMAIL PROTECTED]> wrote: >> >> Hi, >> >> Which tools would you recommend to work for a lift project, and more >> generally with scala? >> The requirement being that the project also uses maven. >> >> I have tried the Eclipse plugin a number of times and I found it too >> unstable. >> >> The last Intellij IDEA plugin is decent, I was considering switching to >> IDEA. Howver I ran lately in some issues. The more important being that if I >> define implicits somewhere their containing folder keep loading... forever. >> >> I could use emacs but I would like some pretty formatting, code completion >> and error checking. >> >> On a scala list post I read David P. explaining that there are a number of >> decent tools to work with lift. Which ones? >> >> BTW: the lift wiki search does not work. It always returns a *No such >> special page*. >> >> Oscar >> >> >> >> >> > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com 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 -~--~~~~--~~--~--~---
[Lift] Re: Recommended tools ?
To search the wiki, I suggest using using the "site:liftweb.net" keyword in google. That will search all pages within liftweb.net We should probably change the wiki search to do that automatically. The built-in MediaWiki search is pathetic anyway. --j On Sat, Nov 15, 2008 at 8:53 AM, Oscar Picasso <[EMAIL PROTECTED]>wrote: > Hi, > > Which tools would you recommend to work for a lift project, and more > generally with scala? > The requirement being that the project also uses maven. > > I have tried the Eclipse plugin a number of times and I found it too > unstable. > > The last Intellij IDEA plugin is decent, I was considering switching to > IDEA. Howver I ran lately in some issues. The more important being that if I > define implicits somewhere their containing folder keep loading... forever. > > I could use emacs but I would like some pretty formatting, code completion > and error checking. > > On a scala list post I read David P. explaining that there are a number of > decent tools to work with lift. Which ones? > > BTW: the lift wiki search does not work. It always returns a *No such > special page*. > > Oscar > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com 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 -~--~~~~--~~--~--~---
[Lift] Re: Recommended tools ?
Derek, With Java, Eclipse handles very well multi modules with the help of m2eclipse. Just checkout a multimodule project as a Maven project from subversion and it will create all the required projects in eclipse. No need to use eclipse:eclipse. With scala that's another story I have never had success using scala + eclipse + maven, even for simple projects, whether with m2eclipse, Q/IAM or without any of them. If you have a setup, example of pom and steps by step actions required to make it work I would appreciate. I have already got help from other users but I didn't myself never make it work. The main issue being that at the beginning everything seems to work fne and then suddenly when I try to launch a scala application (not a lift application) from eclipse it stops working. On Sat, Nov 15, 2008 at 7:20 PM, Derek Chen-Becker <[EMAIL PROTECTED]>wrote: > Out of curiosity, how does Netbeans handle Maven projects, particularly > ones with nested modules? The most recent Eclipse plugin still has some > warts, but it generally seems to work OK if I set up the .classpath file > properly to point at all of the source folders. > > Thanks, > > Derek > > > On Sat, Nov 15, 2008 at 11:25 AM, David Pollak < > [EMAIL PROTECTED]> wrote: > >> I've been using netbeans very succesfully. I recomend it. >> >> Thanks, >> >> David >> >> On Nov 15, 2008 8:53 AM, "Oscar Picasso" <[EMAIL PROTECTED]> wrote: >> >> Hi, >> >> Which tools would you recommend to work for a lift project, and more >> generally with scala? >> The requirement being that the project also uses maven. >> >> I have tried the Eclipse plugin a number of times and I found it too >> unstable. >> >> The last Intellij IDEA plugin is decent, I was considering switching to >> IDEA. Howver I ran lately in some issues. The more important being that if I >> define implicits somewhere their containing folder keep loading... forever. >> >> I could use emacs but I would like some pretty formatting, code completion >> and error checking. >> >> On a scala list post I read David P. explaining that there are a number of >> decent tools to work with lift. Which ones? >> >> BTW: the lift wiki search does not work. It always returns a *No such >> special page*. >> >> Oscar >> >> >> >> >> > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com 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 -~--~~~~--~~--~--~---
[Lift] Re: Recommended tools ?
I do maven from the command line. DavidB knows about maven in netbeans On Nov 15, 2008 4:20 PM, "Derek Chen-Becker" <[EMAIL PROTECTED]> wrote: Out of curiosity, how does Netbeans handle Maven projects, particularly ones with nested modules? The most recent Eclipse plugin still has some warts, but it generally seems to work OK if I set up the .classpath file properly to point at all of the source folders. Thanks, Derek On Sat, Nov 15, 2008 at 11:25 AM, David Pollak < [EMAIL PROTECTED]> wrote: > > I've bee... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com 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 -~--~~~~--~~--~--~---
[Lift] Re: Recommended tools ?
Out of curiosity, how does Netbeans handle Maven projects, particularly ones with nested modules? The most recent Eclipse plugin still has some warts, but it generally seems to work OK if I set up the .classpath file properly to point at all of the source folders. Thanks, Derek On Sat, Nov 15, 2008 at 11:25 AM, David Pollak < [EMAIL PROTECTED]> wrote: > I've been using netbeans very succesfully. I recomend it. > > Thanks, > > David > > On Nov 15, 2008 8:53 AM, "Oscar Picasso" <[EMAIL PROTECTED]> wrote: > > Hi, > > Which tools would you recommend to work for a lift project, and more > generally with scala? > The requirement being that the project also uses maven. > > I have tried the Eclipse plugin a number of times and I found it too > unstable. > > The last Intellij IDEA plugin is decent, I was considering switching to > IDEA. Howver I ran lately in some issues. The more important being that if I > define implicits somewhere their containing folder keep loading... forever. > > I could use emacs but I would like some pretty formatting, code completion > and error checking. > > On a scala list post I read David P. explaining that there are a number of > decent tools to work with lift. Which ones? > > BTW: the lift wiki search does not work. It always returns a *No such > special page*. > > Oscar > > > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com 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 -~--~~~~--~~--~--~---
[Lift] Re: Recommended tools ?
I've been using netbeans very succesfully. I recomend it. Thanks, David On Nov 15, 2008 8:53 AM, "Oscar Picasso" <[EMAIL PROTECTED]> wrote: Hi, Which tools would you recommend to work for a lift project, and more generally with scala? The requirement being that the project also uses maven. I have tried the Eclipse plugin a number of times and I found it too unstable. The last Intellij IDEA plugin is decent, I was considering switching to IDEA. Howver I ran lately in some issues. The more important being that if I define implicits somewhere their containing folder keep loading... forever. I could use emacs but I would like some pretty formatting, code completion and error checking. On a scala list post I read David P. explaining that there are a number of decent tools to work with lift. Which ones? BTW: the lift wiki search does not work. It always returns a *No such special page*. Oscar --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com 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 -~--~~~~--~~--~--~---