Download NetBeans!

20070305 Monday March 05, 2007

Grails in NetBeans IDE?

Some time ago I corresponded with Graeme Rocher, from the Grails project, about what things would constitute "IDE integration" for Grails. He put together this page as a result:

IDE Integration Wish list

I wonder to what extent, if any, the Groovy Plugin for NetBeans has already resolved some of the items in the wish list. For the other items, I'd like to get started to work on them soon. Is anyone out there in Grails land, possibly with some NetBeans module development experience, interested in working with me on this?

By the way, if you look here, you'll see that Charles Ditzel is the closest thing we have right now to a NetBeans-Grails evangelist. Hurray for Charles!

Mar 05 2007, 11:08:26 PM PST Permalink

Trackback URL: http://blogs.sun.com/geertjan/entry/grails_in_netbeans_ide
Comments:

Geertjan, that's interesting. I was interested in getting groovy editor support out of Schliemann, but haven't gotten far yet. Note that also the coyote modules (Groovy Plugin for NetBeans) don't install in NB 6.0.

Posted by Ramon on March 06, 2007 at 12:59 AM PST #

Netbeans integration with Grails done by Mr Geertjan! This would be really great :) I have some free time to help, but i'm newbie both on Grails and even more on NetBeans plugin module development. Anyway, after seeing you doing a module from JFugue in Madrid one year ago in five minutes i don't thing it is too hard ;) Let me know if i can help in anyway (testing, etc.)

Posted by Andres on March 06, 2007 at 03:03 AM PST #

The coyote project (groovy plugin) seems to be quite dead. I got no answer when I contacted them some weeks ago.
I haven't much free time, but I have some. I have only little experience on grails and netbeans plugin development, but I would like to help as I can. I am following the groovy mailing lists concerning the groovy language itself and the groovy eclipse plugin.
As far as I know, the groovy eclipse plugin has been designed to be reusable. In my opinion it is a key factor of success to work with people from groovy and the groovy eclipse plugin.

Posted by Rémi on March 06, 2007 at 03:57 AM PST #

Geertjan, What a great thing to have my new favorite framework and my favorite IDE work great together! Let me know how I can help.

Posted by Matt Morton on March 06, 2007 at 06:14 AM PST #

I'd love to have Netbeans support Groovy/Grails! The coyote project looks to be stalled, so I'm happy to hear you express an interest in Groovy/Grails integration. I watched Roman Strobl's screencasts and NetBeans support for (J)Ruby looks really good. It would be very nice to see something similar for Groovy/Grails.

Posted by Brian Moelk on March 06, 2007 at 08:14 AM PST #

Wow, this would be great Geertjan, I would help, but as you know I'm a little busy trying to get Grails 1.0 out with the rest of the team. Still there is no doubt IDE support is important, let me know where/how I can help Cheers Graeme

Posted by Graeme Rocher on March 06, 2007 at 08:18 AM PST #

As others have said, Coyote seems dead and Schliemann seems like the future.

I, too, am interested in making sure current versions of NetBeans support Groovy. I work with one of the Grails developers and he has also expressed interest in making it happen.

Posted by Tom Wheeler on March 06, 2007 at 01:44 PM PST #

Why not? Groovy/Grails should in NetBeans. IMHO, Groovy/Grails is more friendly to Java Developer. So Sun and NetBeans should give more focus to them.

Posted by Pan Feng on March 06, 2007 at 08:29 PM PST #

I could love netbeans to support grails/groovy! I am willing to help but I don't have any experience with NB module development, but I can squeeze my time to help in any other way. Cheers

Posted by James Chua on March 06, 2007 at 08:45 PM PST #

Wow, what a lot of comments. I'm overwhelmed. I think the first thing to do is look at Schliemann in relation to Groovy. Maybe someone is already doing that?

Posted by Geertjan on March 06, 2007 at 10:56 PM PST #

The current Schliemann language file for NB 6.0 mainly just contains java and javadoc keywords that are then highlighted when you load a .groovy file in the editor.

From the groovy mailing list I got this infos about the groovy grammar files:

The Groovy1.0 version of those files plus some others that may be of use:
http://javanicus.com/groovy-1.0/
There, you'll find:
1) the grammar diagrams:
http://javanicus.com/groovy-1.0/diagrams.html
2) the lexer:
http://javanicus.com/groovy-1.0/lexer.html
3) the parser:
http://javanicus.com/groovy-1.0/parser.html
4) the "groovy.g" Antlr grammar:
http://javanicus.com/groovy-1.0/groovy.g

I tried to adapt the antlr grammar into a Schliemann grammar but problems appeared and I gave up. I think we could include a relaxed groovy grammar (some regular expressions) just to be able to have outline of methods in a Navigator view, code folding and maybe more.

See also "my thread" on the groovy users list:
http://www.nabble.com/Towards-a-better-NetBeans-groovy-plugin-tf3296478.html#a9170349

Posted by 89.48.2.51 on March 07, 2007 at 12:02 AM PST #

89.48.2.51 is me

Posted by Ramon on March 07, 2007 at 12:03 AM PST #

Geertjan, you're always one step ahead of me. Man, do you sleep & eat like the rest of us humans ?? Anyway, just a couple of weeks ago I bought a book on Grails with the hidden intent that when I'm through with it, I'd make a Grails NetBeans plugin... Well, good work, just create the project somewhere (e.g. java.net) and I'm sure if each one of us that commented here pitches in, this puppy will be up and running in no time...

Posted by alex kotchnev on March 07, 2007 at 07:41 AM PST #

I am a newbie with Grails (who isn't?) but I completely believe in it's future potential and I am a large fan of Netbeans. I am very interested in working to combine the two (beyond a plugin) to strengthen each community - even doing the mundane stuff. I have extra server parts in my living room, some rack space at a good data center, and the perfect internet domain to host the project site: jclipse.org. I've been waiting for years to payback IBM for naming their open source IDE "eclipse" (Block out Sun). If I see numerous postings here [ 10+ ] indicating interest in participating on a such a project I'll put together a server and rack it. If you send an email, start by making a suggestion on how to best use the jclipse.org site. SVN? Reference Docs? News? Craig.

Posted by CraigInAustin on April 22, 2007 at 06:42 PM PDT #

Post a Comment:

Name:
E-Mail:
URL:

Your Comment:

HTML Syntax: NOT allowed