Geertjan's Blog

  • March 5, 2007

Grails in NetBeans IDE?

Geertjan Wielenga
Product Manager
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!

Join the discussion

Comments ( 17 )
  • Ramon Tuesday, March 6, 2007
    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.
  • Andres Tuesday, March 6, 2007
    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.)
  • Rémi Tuesday, March 6, 2007
    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.
  • Matt Morton Tuesday, March 6, 2007
    What a great thing to have my new favorite framework and my favorite IDE work great together! Let me know how I can help.
  • Brian Moelk Tuesday, March 6, 2007
    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.
  • Graeme Rocher Tuesday, March 6, 2007
    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
  • Tom Wheeler Tuesday, March 6, 2007

    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.

  • Pan Feng Tuesday, March 6, 2007
    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.
  • James Chua Tuesday, March 6, 2007
    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.
  • Geertjan Tuesday, March 6, 2007
    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?
  • guest Wednesday, March 7, 2007

    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:


    There, you'll find:

    1) the grammar diagrams:


    2) the lexer:


    3) the parser:


    4) the "groovy.g" Antlr grammar:


    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:


  • Ramon Wednesday, March 7, 2007 is me
  • alex kotchnev Wednesday, March 7, 2007
    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...
  • CraigInAustin Sunday, April 22, 2007
    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.
  • Alex Kühne Thursday, May 27, 2010

    Interesting, this post is three years old now. I completely agree with the IDE wishlist from Graeme Rocher, but I wonder who's actually taking care of the NetBeans Grails plugin which is at v.1.14.1 in RC1 of NetBeans 6.9, but still doesn't seem to support some basic features like code navigation with CTRL+click between GSP-Pages and the Groovy code or GSP code-formatting...

    Back to the question: Does anybody know who's taking care of the NetBeans Grails plugin? Project homepages? Mailing lists? Roadmaps? List of active developers? All I find are "how to setup a basic crud" with some nice screenshots from around 2007/2008 (really well done, though)...

  • Geertjan Wielenga Thursday, May 27, 2010

    Sorry, the right place for asking these questions is the NetBeans mailing list nbj2ee@netbeans.org. By the way, support isn't a plugin anymore, it is completely integrated into NetBeans IDE and is fully supported as with any other part of the IDE. The correct place to discuss these things is again, not at the end of a blog entry, but on the mailing list nbj2ee@netbeans.org. Thanks.

  • Alex Kühne Thursday, May 27, 2010

    Thanks a lot, this is exactly the information I've needed. I'm sure this might help other people as well, so I wouldn't say having this link here is that wrong. Thanks!

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