This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Mixed Java/Groovy sources in Web Application | ||
---|---|---|---|
Product: | groovy | Reporter: | mdbergmann <mdbergmann> |
Component: | Code | Assignee: | Martin Janicek <mjanicek> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | nickOathouse, pjiricka |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
mdbergmann
2008-08-15 11:32:00 UTC
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. *** Fixed in: 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 |