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 - REST resources configuration should not be available for EE 6 projects
Summary: REST resources configuration should not be available for EE 6 projects
Status: RESOLVED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: REST (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Denis Anisimov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-27 13:58 UTC by Petr Jiricka
Modified: 2012-05-06 09:51 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 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