X

Geertjan's Blog

  • November 21, 2007

Groovy Plugin Updated to NetBeans IDE 6.0 RC 2

Geertjan Wielenga
Product Manager
In celebration of the release of NetBeans IDE 6.0 RC 2, I updated the Groovy plugin on the Plugin Portal. Where before you would download an archive (containing 5 NBMs) called "groovynbms-4.zip", this time you'll get "groovynbms-5.zip". What are the changes? Nothing other than that the plugin now works in NetBeans IDE 6.0 RC 2 and that Groovy 1.1 RC 2 is supported (instead of a snapshot build).

So, if you liked it before, you'll like it now. If you didn't, you still won't. The update replaces the older one, hence you will only be able to use the plugin in NetBeans IDE 6.0 RC 2 and nowhere else. (At least, it might work elsewhere but I will not help you out if you install it somewhere else and then encounter some problem or other). It's pretty cool that the current download number for that plugin is 661. Probably about 20 of those are me, but not much more than that. So, I hope those who downloaded it weren't too disappointed by its modest functionality (though, you shouldn't have been had you read the description on the plugin's page). Others have written to say they like it. Well, whatever works works.

All the functionality in this releaselet is identical to what it was before, with small templates, some basic syntax coloring and code completion, and "run script" support, as shown here:

Go here to get it:

http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=3914

Interestingly, I've talked to lots of people internally in NetBeans and Sun recently about Groovy, even more so than before. Watch this space for some interesting announcements coming up in the next months (or maybe even sooner).

In other news. Have a look at Wouter van Reeven's article Combining Hibernate and Facelets with Maven, NetBeans, and GlassFish.

Join the discussion

Comments ( 5 )
  • Stefan Thursday, November 22, 2007

    Works great. thanks!


  • Rob Thursday, December 6, 2007

    Tried it and seem to have a problem with this little Groovy script ..

    -----------------------------------

    println 'I can see this ..'

    def clos = {println "${it} ... "}

    clos('But not this')

    println 'Can this though ..'

    -----------------------------------

    In the output i see ...

    -----------------------------------

    I can see this ..

    Can this though ..

    -----------------------------------

    So the output from the closure is lost ..

    This doesn't happen when I run the code in

    the GroovyConsole - I get ..

    -----------------------------------

    groovy> println 'I can see this ..'

    groovy> def clos = {println "${it} ... "}

    groovy> clos('But not this')

    groovy> println 'Can this though ..'

    I can see this ..

    But not this ...

    Can this though ..

    ----------------------------------

    Anyone any idea ? I'm new to Groovy ..


  • Geertjan Thursday, December 6, 2007
  • Rob Thursday, December 6, 2007

    Thank you very much for the quick reply .. And I really like the plugin ..


  • jianwu Friday, December 7, 2007

    Thank you for your effort. I'm looking for it for long time. I'm dissapoint that SUN didn't focus on groovy. Instead they have spent so much effort on Ruby. And Netbean's Ruby support is awesome. But I don't think it will be that interesting for most of Java developers. It's too far from java. But Groovy is a nice match for Java community. Really hope SUN can realize that and spend their money on the right technology.

    I have tried your plugin, it's easy to setup and works fine. It's great.

    But I think the function is limited, I'm trying to use groovy to write unit test for java class in a Maven2 project. But seems the java class is not in the groovy classpath, they are not visible in groovy. Do I miss something? Another thing, I hope I can debug groovy. At least I can put break point in java code. Then start the groovy unit test, java code can break. That will be helful. I understand that is not easy task.

    Thanks.


Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.Captcha