Groovy code in project structure is src/groovycode/src/packagename and rest of the java classes are in src/packagename. My other team member use IntelliJ and it seamlessly compiles groovy classes into java classes with desired package names and ignores groovycode/src folder.
I am not able to do same in Eclipse and compile groovy classes at all. So I end up copying groovy class from others and copying into my WEB-INF/classes folder.
Is there any way to achieve this in Eclipse?
In between I am using Eclipse Helios and have Groovy Eclipse plugin installed.
Groovy code in project structure is src/groovycode/src/packagename and rest of the java classes are
Share
It sounds like you have not set
src/groovycode/srcas a source folder. You need to right click on the source folder and select Build path -> Use as source folder. Once you do that you should open up your Java build settings page for the project and set the output folder for that source folder.I would also recommend that you upgrade to Eclipse Indigo or Juno and start using Groovy-Eclipse 2.7.0.