Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Groovy/Grails Tool Suite (Eclipse based IDE) has big problems with deadlocks

I'm using GGTS to create some projects in Grails but this IDE is terribly slow.

I have two projects in my IDE (sometimes both running) and after small changes GGTS starts to build workspace which takes A LOT of time, sometimes it never ends and just crashes, sometimes it makes so hard deadlock that I MUST restart my computer.

My environment: win 7 64-bit, Intel i5-2500 3,30GHz, 8GB RAM, GGTS v. 3.1.0, java 1.6.0_30, grails 2.2.0.

I've read that there is possible to do something like this: Window - > Preferences - > General -> Workspace - > Linked Resource - Disable linked resource, but I'm not sure if I can do this, cause Grails projects are connected with this place, I believe: C:\Users\username.grails\2.2.0\projects

What can I do? Is the only way out this problem is buying IntelliJ or working with some text editor and console? How to repair this buggy Eclipse?

like image 969
kmb Avatar asked Jan 31 '26 19:01

kmb


2 Answers

Go to Project->uncheck the "Build Automatically" option. This is by default checked. So, when ever you do any change in the code, it automatically tries to build every time. Unchecking this option will save you a lot of time, as you can run it whenever you want (it builds only when you run the code.)

like image 148
Chandrashekar Avatar answered Feb 03 '26 07:02

Chandrashekar


I use emacs for Grails development, but I would definitely recommend IntelliJ, unless you can work without code assist.

From what I've seen Eclipse with plugins, STS or GGTS are extremely buggy when working with Grails:

  • Workspace corruptions
  • Poor completion for dynamic methods
  • Sometimes you can't save files
  • etc.
like image 24
rimero Avatar answered Feb 03 '26 07:02

rimero



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!