Request for integrating #225950 - Adding Groovy class to Web App Project messes up compilation class path
Martin Janicek <[email protected]> Mon, 11 Feb 2013 16:04:19 +0100
| Newsgroups | gmane.comp.java.netbeans.reviewers |
|---|---|
| Message-ID | <[email protected]> |
Bug link: http://netbeans.org/bugzilla/show_bug.cgi?id=225950 Description of the bug: If anyone with Web or Ejb application (based on Ant, not Maven) creates any Java EE class inside (Servlet, Session bean etc.) plus add a Groovy class it results in uncompilable application because the groovy compiler which wrapps standard javac does not contain Java EE classes on it's classpath. Impact assessment: This might impact on many users! Anyone with listed types of application who creates Groovy class or script inside ends up with uncompilable application. It is not even easy to revert the changes made by file wizard. Risk assessment: Changeset only extend the classpath for groovy-build scripts and put the Java EE classes to the compile process. IMHO there is no risk. Fix: http://hg.netbeans.org/web-main/rev/ca9f1603c52a http://hg.netbeans.org/web-main/rev/9c9f46f5de19 The fix was written by mjanicek, reviewed by mfousek and verifed by vriha. Thanks for the review, Martin J.