aspose file tools*
The moose likes Groovy and the fly likes Groovy on Grails with eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Groovy
Bookmark "Groovy on Grails with eclipse" Watch "Groovy on Grails with eclipse" New topic
Author

Groovy on Grails with eclipse

Viral Shah
Greenhorn

Joined: Jul 14, 2009
Posts: 8
Is it true that the Groovy on Grails developer experience is not that great with eclipse as IDE , and one should try netbeans or Intellij IDEA ?
What is the best option ? Is eclipse usage just not possible ?
Ajay Vikas
Ranch Hand

Joined: Nov 08, 2006
Posts: 66

I personally feel Intellij IDEA is the best option to start working on grails. Next i can suggest Netbeans and then finally Eclipse. I feel eclipse there is some issue with plugins.. etc..
So start with Intellij IDEA it is amazing.

--
Ajay.
Viral Shah
Greenhorn

Joined: Jul 14, 2009
Posts: 8
Thanks Ajay,
But the problem is Intellij IDEA is commercial. And our organization uses eclipse as standard.
Vikrant Pandit
Ranch Hand

Joined: Mar 27, 2006
Posts: 245
Viral, Ajay is right . IntelliJ idea is currently the best ide for developing grails applications. Next in line is Netbeans. Eclipse plugin is not in a great shape . However, this is expected to change by this year end with SpringSource promising support for groovy and grails in Spring Tool Suite


Vikrant Pandit
chris webster
Bartender

Joined: Mar 01, 2009
Posts: 1871
    
  16

I'm using Netbeans v.6.7 with the Grails plugin and it's fine (and it costs nothing). Don't use Netbeans 6.5 or earlier, because the Grails plugin doesn't work - it won't let you specify package names for controllers etc.


No more Blub for me, thank you, Vicar.
Paras Jain
Ranch Hand

Joined: Feb 26, 2005
Posts: 137
Another IDE you can use is TextMate, if you are using Mac


Paras Jain
SCJP 5.0
Glen Smith
Author
Greenhorn

Joined: May 30, 2009
Posts: 8
Hi Guys,

Another +1 for Netbeans 6.7. The Grails support is really coming along. I particularly like the debugging/breakpoint support in Netbeans 6.7. If you're looking for a free option, you can't go past Netbeans. The code completion stuff has really come on in 6.7 too!

Whilst IntelliJ definitely has the edge in Grails development, Netbeans is putting up a great free challenger!

Glen.


Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15300
    
    6

Glen Smith wrote:Whilst IntelliJ definitely has the edge in Grails development, Netbeans is putting up a great free challenger!

Glen.


Yea, but then you get all the crud that is Netbeans, aside from Grails. ;) I go back and forth between TextMate and IntelliJ. I typically use IntelliJ when I need to debug but TextMate + Terminal for bashing out code. Code completion is nice but I've found myself not using as much as I used to. For learning Grails/Groovy, it's a must have though.


GenRocket - Experts at Building Test Data
Vyas Sanzgiri
Ranch Hand

Joined: Jun 16, 2007
Posts: 686

TextMate is a missing editor for Mac as they call it and IntelliJ is commercial. So both these discussions are limited.

For the general public, Netbeans 6.7 rules


===Vyas Sanzgiri===
My Blog
Kai Wähner
Ranch Hand

Joined: Sep 16, 2009
Posts: 76
Today, February 2010: Which IDE should I use? IntelliJ or NetBeans? I think Eclipse is still no reasonable alternative, isnt it?

Maybe the following information is also important for making the right decision: I am new to Groovy and Grails and want to realize a little project (CRUD with web-ui). It may take about 8 to 10 days...


best regards, Kai


My IT-blog about my experiences with: Java / JEE, IT Conferences and IT Certifications

Vyas Sanzgiri
Ranch Hand

Joined: Jun 16, 2007
Posts: 686

Netbeans 6.8 is still the best IDE for Groovy and Grails
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15300
    
    6

Vyas Sanzgiri wrote:Netbeans 6.8 is still the best IDE for Groovy and Grails


Ugh, blanket statements like this don't help. This is, and always will be, your opinion. I'd recommend Intellij's IDEA, but that is my opinion. If you want something free however, Netbeans is a good way to go, over Eclipse, with regards to Groovy and Grails.

The best thing to do is download both and give the a go. Decide for yourself.
Vyas Sanzgiri
Ranch Hand

Joined: Jun 16, 2007
Posts: 686

Check out the features :http://www.grails.org/NetBeans+Integration

I have been using Netbeans since the last one year for Groovy and Grails and it is my strong opinion that you check it out esp since it is free and the community is doing really well with the 6.8 release.

For e.g. In IDEA the last time I had checked findAllBy did not give me any suggestions. Also, it randomly locks up on GSP editing and this can be replicated each time by selecting the full GSP page and formatting it.
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15300
    
    6

Vyas Sanzgiri wrote:For e.g. In IDEA the last time I had checked findAllBy did not give me any suggestions. Also, it randomly locks up on GSP editing and this can be replicated each time by selecting the full GSP page and formatting it.


IDEA (at least since version 8, and they are on version 9 now) has had completion for all dynamic finders supported by GORM give or take when new version of Grails are released and IDEA hasn't had a chance to release a hotfix. As for GSP editing lockups, I've never experienced this.

It might be best if you stick with talking about how great Netbeans is rather than bashing a product you haven't used in a while. Like I said, Netbeans is a great product if you want / need something free. For me, IDEA is the way to go.
Vyas Sanzgiri
Ranch Hand

Joined: Jun 16, 2007
Posts: 686

The features are listed in the link I have already posted. Don't want to copy-paste again. I was listing out my frustration with IDEA which are documented as issues in their bug database - so I am not one off. Fortunately I did not renew my subscription since I found better IDEs which I can contribute to since they are open source!
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15300
    
    6

Vyas Sanzgiri wrote:I was listing out my frustration with IDEA which are documented as issues in their bug database - so I am not one off.


I'd be interested in links to these issues, if you have them.
Sebastien Blanc
author
Ranch Hand

Joined: Nov 18, 2004
Posts: 33
Well, STS (Spring Tool Suite) based on Eclipse has some nice Grails support, I really like it.


Sebastien Blanc
Pro Android Web Apps: Developing HTML5, JavaScript, CSS, and Chrome OS Web Apps
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15300
    
    6

Sebastien Blanc wrote:Well, STS (Spring Tool Suite) based on Eclipse has some nice Grails support, I really like it.


I had heard there was a lot of work going on regarding their tool suite. I just haven't had time to look into it. Glad to hear they are making some progress.
Moha Shaf
Ranch Hand

Joined: Aug 30, 2008
Posts: 30
Gregg Bolinger wrote:
I had heard there was a lot of work going on regarding their tool suite. I just haven't had time to look into it. Glad to hear they are making some progress.


I downloaded Eclipse Helios and Galileo in both Ubuntu and Windows and tried updating Grails Plugin from SpringSource from Local Site and then from the repository directly. But it failed.
Then I installed STS version 2.5.2 in Ubuntu and tried installing Grails and Groovy Plugins exactly as described in the link http://grails.org/STS+Integration . I was able to update Grails but it failed because of conflicting dependency when I tried updating Grails and Groovy Support through STS.
All this because I am used to and like working in Eclipse. Now I am giving up and downloading NetBeans in Ubuntu.

Anybody had luck with Eclipse / STS + Groovy,Grails plug in? If yes can you please help me out.

I wonder why such installation guides are published on sites without proper testing.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Groovy on Grails with eclipse