Dónal
Dónal

Reputation: 187499

Grails Eclipse plugin

I've seen various posts on SO criticising the Eclipse Grails plugin, and am wondering if anyone has found a way to work productively with Grails within Eclipse?

I had a look at the Grails plugin page, and the information there doesn't look very promising, particularly the conflicting advice regarding the 'Disable Groovy Compiler Generating Class Files' setting.

Upvotes: 10

Views: 16141

Answers (8)

Arch Brooks
Arch Brooks

Reputation: 303

I am currently using version 3.6.4 STS. It works great. Version STS 3.7.1 has been released but I have not tried it yet. 3.6.4 works great with Grails 2.4.4. I have downloaded and installed Grails 3.0.9 and for my purposes it works just fine. Long time fan of Eclipse and I use it for UML, PHP, c++ and Java.

Upvotes: 0

billjamesdev
billjamesdev

Reputation: 14642

Original answer (left so people's votes aren't misrepresented):

Current IDE status (as of Mar '09) for Grails dev:

  1. IntelliJ Idea still the best, but costly
  2. NetBeans 6.5 is MUCH better than 6.1, but released before v1.1, unsure what the 1.1 changes may have done to this.
  3. Eclipse is still far behind. However, SpringSource is a major player in Eclipse, and they now own GOne, the main developers of Groovy/Grails. This is supposed to have the effect of speeding Eclipse plug-in development, but no results so far.

It's now Dec '10, and things have changed (but not too much):

  1. IntelliJ Idea is still the best, but only marginally so, and expensive.
  2. Eclipse now has the STS (since Spring is a major developer), with a lot better Grails integration than before, especially for new projects. If you're using Mavenized Grails... you may still want to stick with IntelliJ.
  3. NetBeans 6.9.1 is out, but its Grails support is stagnant since 6.5. It's now the bottom of the pack.

And now it's Feb '15, almost 6 years after the original question. Much has changed, but much remains the same:

  1. IntelliJ is still the best, and by a growing margin. Grails 3 (due out next month) will actually allow development using the Community (Free) edition of IntelliJ
  2. GGTS (The Eclipse package created by VMWare) has never really caught up, and will only get further behind now, as Pivotal has ceased its sponsorship of the Groovy/Grails team, and will probably also no longer drive GGTS development.
  3. Seriously, does anyone still use NetBeans? Ok, I see they still support Grails, but I don't really have any idea how good that support is. Everyone I know... EVERYONE... uses IntelliJ.

Upvotes: 15

Sol Mumey
Sol Mumey

Reputation: 11

I installed STS as a plugin into my Helios Java EE install. Have mostly been using it for a sample Grails project as I learned Grails, but seems to work fairly well. Definitely Groovy support in Eclipse has improved dramatically in the last year.

Upvotes: 1

JMASON
JMASON

Reputation: 21

prefer NOT to use STS - a custom Eclipse IDE for Grails. Looking to see if there is still a Grails plugin for Eclipse that would work. Using multiple projects that do not load in STS

Upvotes: 2

Andrew Eisenberg
Andrew Eisenberg

Reputation: 28737

The Grails Eclipse Tooling available in STS is now becoming mature. I'd recommend trying this if you are still looking for a good way to develop Grails apps in Eclipse.

http://www.grails.org/STS+Integration

Upvotes: 18

user129972
user129972

Reputation:

I've been experimenting with the NetBeans 6.7 release candidate after reading over the Eclipse documentation. So far it is a pretty nice way to work with Grails. You do have to configure your own hotkeys and such so that running your tests can be done in 2 key strokes.

I am having trouble with some of the claimed enhancements. My code completion isn't working on my own methods, that's the single most annoying thing so far (at least, that isn't just a consequence of me being used to statically typed Java). I need t figure out how to execute just a single test etc.

As someone that used NetBeans 7 and 8 years ago, I like what I see a lot better now. I ran screaming to Eclipse back in 03, but Netbeans seems to have matured quite a lot.

Upvotes: 1

Dean Del Ponte
Dean Del Ponte

Reputation:

I'd recommend using NetBeans 6.7 for Groovy/Grails development or TextMate (Mac only). NetBeans 6.7 works great and should be able to tide you over until the Eclipse plugin comes out. Who knows, you may even like NetBeans more.

Upvotes: 0

Deepak Mittal
Deepak Mittal

Reputation: 603

I used to be a die-hard Eclipse fan (wouldn't even imagine that I would work on any IDE other than Eclipse). But, I had to ultimately quit Eclipse in favor of either vi or IntelliJ IDEA after getting frustrated for couple of months.

But that was almost a year back. Haven't tried it again. I have high hopes from SpringSource to improve Eclipse tooling.

Upvotes: 4

Related Questions