Mixed Java and Groovy sources in a Web Application doesn't work.
While the editor/parser of the classes gives green light the ant build complains about unresolved classes.
This occurs when having references from Java to Groovy classes in the same or another package.
Groovy is not supported yet in web applications, but it would make sense to add it in the future. Unfortunately it's not possible for 6.5.
For JavaEE applications the business logic is actually not much different from a normal Java application.
The compiled classes go to WEB-INF/classes, that's it.
Hope to see this feature soon as some of our Web Applications have mixed Java/Groovy sources and we can't switch to NetBeans until this is supported.
Is it possible to get this feature in the 6.7 release? It's required for us before we can switch to the netbeans ide.
This certainly won't happen for 6.7 - we are in high resistence mode.
Tried the mixed Java/Groovy classes on NetBeans IDE 6.9 RC2 (Build 201007282301). This still doesn't work (unresolved reference from Java to Groovy classes).
My test application was originally built on MyEclipse which apparently can support the mix. Maybe the NetBeans restriction on web applications is stated somewhere but I didn't see one in either NetBeans or Groovy sites.
*** Bug 176140 has been marked as a duplicate of this bug. ***
Support for Web projects: http://hg.netbeans.org/web-main/rev/bb493a7aabbc
Support for EJB projects: http://hg.netbeans.org/web-main/rev/cdfe91d8ca3d
Cluster correction: http://hg.netbeans.org/web-main/rev/82fbea237e3b