Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Groovy version 2.4.2 for Eclipse

How can I make a groovy project in eclipse use a custom Groovy Library?

I'm new to Groovy and I'm confused as to how to use it in Eclipse.

I installed the Groovy Plugin to Eclipse, every time I make a project, the Groovy library used is version 2.3.7.

I downloaded the Groovy SDK version 2.4.2 and want to use it with my eclipse, however I can't seem to do it as when I try to add a new Groovy library, nothing happens.

like image 809
Cosa Ya Avatar asked Mar 21 '15 15:03

Cosa Ya


1 Answers

The Groovy-plugin for Eclipse comes with it's own Groovy-compilers. It is not possible to add your own groovy compilers.

Version 2.9.1 of the groovy-eclipse plugin does not have the 2.4.x compiler included. In Version 2.9.2 the compiler 2.4.x is included. In Order to install it, use the update-site http://dist.springsource.org/snapshot/GRECLIPSE/e4.4/ . I tried it, and in it works (there has been a bugfix: https://github.com/groovy/groovy-eclipse/issues/112)

like image 186
Edward Avatar answered Oct 13 '22 00:10

Edward