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 211853

Summary: REST resources configuration should not be available for EE 6 projects
Product: webservices Reporter: Petr Jiricka <pjiricka>
Component: RESTAssignee: Denis Anisimov <ads>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Petr Jiricka 2012-04-27 13:58:09 UTC
1. Create a Java EE 6 web project
2. Create a REST service
3. In the RESTful Web Services node's popup menu, you see the REST Resources Configuration menu item

=> This menu should not be available in this case, because after Denis implemented bug 209713, these configuration options do not make sense. The IDE should be able to detect things like:
- if the ApplicationConfig class (annotated with @javax.ws.rs.ApplicationPath) exists
- if the Jersey servlet is configured in web.xml

and behave based on that. The user should not need to change the configuration in any way.
Comment 1 Denis Anisimov 2012-05-05 05:54:59 UTC
web-main#6cd861cade72
Comment 2 Quality Engineering 2012-05-06 09:51:32 UTC
Integrated into 'main-golden', will be available in build *201205060400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/6cd861cade72
User: Denis Anisimov <ads@netbeans.org>
Log: Fix for BZ#211853-REST resources configuration should not be available for EE 6 projects