groovy-eclipse icon indicating copy to clipboard operation
groovy-eclipse copied to clipboard

Allow per-project Groovy compiler version

Open mauromol opened this issue 8 years ago • 2 comments

I know this is a limit that most probably will never be fixed in Greclipse... but I felt like it should be tracked here, as well, as it was in the old JIRA (GRECLIPSE-1196).

It would be extremely useful and "natural" if the Groovy compiler version could be set on a per-project basis, just like JDT allows for the Java compiler level.

mauromol avatar Nov 17 '17 09:11 mauromol

The problem is you can only load 1 Groovy runtime bundle within Eclipse. So the global setting determines which is loaded and the others are disabled.

eric-milles avatar Nov 17 '17 15:11 eric-milles

Yes, I know, this has always been the explanation I was given. Perhaps some interface-based approach abstracting from the actual runtime being in use (instead of bundling the Groovy compilers as separate and alternative OSGi bundles) could have helped here... But I understand it would require an almost complete rewrite of Greclipse...

mauromol avatar Nov 17 '17 15:11 mauromol