#177736: cannot create rest client stubs for EE6 project
mkuchtiak <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.reviewers |
|---|---|
| Message-ID | <[email protected]> |
Issue: https://netbeans.org/bugzilla/show_bug.cgi?id=177736 Description: REST Client wizard doesn't allow user to select Java EE 6 project cantaining REST services. The message appears: "The project does not contain any REST services", which is wrong. The issue is caused by introducing new option in Java EE 6 projects, where rest services can be configured by @ApplicationPath annotation, whichis a replaceemnt for web.xml configuration. Impact: User cannot create REST client stubs for Java EE 6 web project Fix: The fix is base on checking either: 1. the presence of web.xml rest configuration or 2. annotation based rest configuration. See: http://hg.netbeans.org/main/rev/ab3802d3651e Risk: easy fix, no risk Reviewers: Lukas Jungmann (QA), Petr Hejl. Thanks