Monday May 21, 2007
Basic Groovy
I'd have put this on the Plugin Portal, but I don't seem to be able to access it. So here it is, very basic Groovy support:
I got an error when I switched to the Console view on Ubuntu Linux, but encountered no such error on Windows. So as far as I know, this works on Windows. Download the ZIP file above and you'll find three NBM files. Install them in 6.0 Preview (Milestone 9) and you'll be able to use the functionality illustrated in the following few screenshots.
First, you'll have two new project types:

Next, when you have a Groovy file, you'll also have a Console view (this is the part that fails for me on Ubuntu Linux 7.04):

In the Source view, you can also run Groovy files, with some broken syntax coloring to confuse you:

Note that some attempt has been made to keep the two views synchronized, the thinking being that you experiment a bit in the Console view and then you adopt whatever you like there in the Source view.
Finally, you can also put Groovy files in Java applications, as can be seen here:

In other words, this is the Coyote functionality, ported to 6.0, with a few other experimental things (e.g., broken Schliemann syntax coloring) thrown in. Use at your own risk.
May 21 2007, 04:55:26 AM PDT Permalink
Posted by movk on May 21, 2007 at 05:42 AM PDT #
Posted by Danno Ferrin on May 21, 2007 at 09:16 AM PDT #
org-netbeans-modules-coyote-groovy.nbm
Posted by Geertjan on May 21, 2007 at 09:21 AM PDT #
Posted by Sven Reimers on May 21, 2007 at 10:34 AM PDT #
Posted by Geertjan on May 22, 2007 at 05:36 AM PDT #
Posted by Stefan on May 23, 2007 at 10:44 AM PDT #
Posted by Graham on May 23, 2007 at 02:09 PM PDT #
Posted by Davide Gesino on May 31, 2007 at 02:52 AM PDT #
Posted by Geertjan on May 31, 2007 at 03:04 AM PDT #
Posted by Rakesh Malik on June 05, 2007 at 12:30 PM PDT #
Posted by Robert on July 05, 2007 at 06:25 AM PDT #
I am looking for seemless Groovy debugging in netbeans. By seemless I mean start debugging groovy, step into java, step out. I have looked at JSWat but it is not a plugin to Netbeans. I need a plugin to netbeans for this I think.
Posted by JimT on August 26, 2007 at 01:24 PM PDT #
Good job so far. Hope for strong NetBeans groovy integration some day... :)
Geertjan, I'm note sure but I think I found a bug.
When I have opened two files, the editor rewrite the
the first to the second :(
It looks weird
I appreciate netbeans 6.0 beta 1. Good job !!!!!
Posted by David on September 10, 2007 at 01:07 PM PDT #


