Found on Eclipse 4.5 Mars and GRECLIPSE 2.9.2
I had several Groovy projects imported before installing GRECLIPSE (but the Groovy compiler was on the way and GROOVY_HOME was installed)
After installing GRECLIPSE, the projects will not compile. So go to
Project Properties via Pulldown> Java Build Path> Libraries> Add Library
And add “GROOVY SUPPORT” manually. The project compiles, but:
This entry cannot be deleted because it makes compilation impossible. So go to
Project Properties via Pulldown> Groovy> Delete Groovy Nature
"Do you also want to delete Groovy flash files from the FOO project?" YES
And circle around:
Project Properties via Pulldown> Configure> Convert to Groovy Project
Everything is done as before.
This has changed the Libraries:
The contents of ".classpath" has changed from:
<classpathentry exported="true" kind="con" path="GROOVY_DSL_SUPPORT"/> <classpathentry kind="con" path="GROOVY_SUPPORT"/>
to
<classpathentry exported="true" kind="con" path="GROOVY_SUPPORT"/> <classpathentry exported="true" kind="con" path="GROOVY_DSL_SUPPORT"/>
The contents of ".project" has not changed.
<natures> <nature>org.eclipse.jdt.groovy.core.groovyNature</nature> <nature>org.eclipse.jdt.core.javanature</nature> </natures>
David Tonhofer
source share