Lift, Scala, Maven, and NetBeans IDE

Once you've installed the Scala plugin into NetBeans IDE and taken it for a test drive as described yesterday, you're a couple of clicks away from using Lift in NetBeans IDE. Click to enlarge the image below, which shows the Scala editor, in the context of a Maven web project, together with the result shown in the embedded browser. As can be seen below, the Scala console is also integrated, thanks to the Scala plugin.

Best of all, since the application is deployed to GlassFish, a redeploy happens on save. That means I make a change, save, and then refresh the browser, whether embedded or external, to see the change. This, combined with everything else, makes NetBeans IDE a very productive environment for Lift development.

Even better than best of all is that NetBeans IDE 7.4 enables Maven projects to integrate with the browser, i.e., either the Chrome browser or the embedded browser. That means you'll be able to click in the browser and see where items are defined in the IDE, use the DOM Browser in the IDE to browse live through the items in your browser, and even change properties on the fly in the IDE and immediately see the changes live in the browser, as this screenshot shows:


And the two screenshots below show how I arrived at the above result, i.e., I indicated I want to create a project from a Maven archetype and then searched for "lift":

Interested to hear of others trying out this procedure, i.e., the steps described yesterday together with the above outline, very welcome to leave comments at the end of this blog entry.

In short, though, I believe that once the NetBeans Scala plugin is updated to be usable in NetBeans IDE 7.4, which is a task that only makes sense to do once NetBeans IDE 7.4 is actually released, NetBeans IDE will be paradise for Lift developers.

Comments:

Doesn't look like it supports Scalatra that well, seems like companies are preferring Scalatra because of it's non-opinionness. Also, nbscala has been cold since march :(. Wonder if Netbeans has any plans to support Scala natively !!

Posted by guest on October 20, 2013 at 06:57 PM PDT #

netbeans 7.4 has been released ... any plans on updating the scala plugin?

Posted by guest on October 22, 2013 at 12:49 AM PDT #

Use http://sourceforge.net/projects/erlybird/files/nb-scala/7.x_2.10.x/nbscala-7.4_2.10.x-1.6.1.1.zip/download for 7.4 support

Posted by guest on November 11, 2013 at 01:20 AM PST #

Why it coloring and code completion doesn't support for .scala.html files. It would be great if it supports for those files too

Posted by guest on November 16, 2013 at 10:17 PM PST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Geertjan Wielenga (@geertjanw) is a Principal Product Manager in the Oracle Developer Tools group living & working in Amsterdam. He is a Java technology enthusiast, evangelist, trainer, speaker, and writer. He blogs here daily.

The focus of this blog is mostly on NetBeans (a development tool primarily for Java programmers), with an occasional reference to NetBeans, and sometimes diverging to topics relating to NetBeans. And then there are days when NetBeans is mentioned, just for a change.

Search

Archives
« July 2014
SunMonTueWedThuFriSat
  
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
  
       
Today