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.

Bug 225384 - Groovy classes do not get compiled in Web Application project type
Summary: Groovy classes do not get compiled in Web Application project type
Status: RESOLVED FIXED
Alias: None
Product: groovy
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.2
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Martin Janicek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-27 13:49 UTC by eddelplus
Modified: 2013-01-28 08:32 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description eddelplus 2013-01-27 13:49:16 UTC
Groovy files created as "Groovy class file" and located in the source tree of a web application (later ending up in WEB-INF/classes tree of war) do not get compiled. They are included unchanged as .groovy files. Thus they cannot be called as servlet classes and remain invisible to the Jersey REST servlet, for example.
Comment 1 Martin Janicek 2013-01-28 08:32:45 UTC
Hi, this should be fixed in our daily builds[1] and it should be also a part of the NB7.3 release. Changesets from issues 144038 are behind the fix:

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

[1] http://bits.netbeans.org/download/trunk/nightly/latest/