Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 323192 - JAX-RS- Not prompted to enter servlet class when adding JAX-RS facet to a new web project
Summary: JAX-RS- Not prompted to enter servlet class when adding JAX-RS facet to a new...
Status: RESOLVED FIXED
Alias: None
Product: WTP Webservices
Classification: WebTools
Component: jst.ws (show other bugs)
Version: 3.2.1   Edit
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: 3.2.2   Edit
Assignee: Eric Peters CLA
QA Contact: Keith Chong CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-19 16:20 EDT by Eric Peters CLA
Modified: 2010-08-20 16:13 EDT (History)
0 users

See Also:
ericdp: review?


Attachments
patch for project lead review (2.70 KB, patch)
2010-08-19 16:33 EDT, Eric Peters CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Peters CLA 2010-08-19 16:20:59 EDT
Steps to reproduce:
1. Create a new dynamic web project.
2. Click to Modify facets.
3. Add the JAX-RS facet (REST Web Services) facet.
4. Click Finish on the dynamic web project.

Problem: An error is shown in the Problems view on web.xml on the new web project "The value of the <servlet-class> element is not specified."

Expected results: I would be expected to provide a servlet class at web project create time when adding the JAX-RS facet.
Comment 1 Eric Peters CLA 2010-08-19 16:24:42 EDT
Actually the validation errors shown on the properties page and not web.xml (no library chosen & servlet name not specified).
Comment 2 Eric Peters CLA 2010-08-19 16:33:44 EDT
Created attachment 177045 [details]
patch for project lead review
Comment 3 Eric Peters CLA 2010-08-19 16:37:41 EDT
Tested thoroughly for problem outlined in defect. As well, tested 2nd time through wizard (JAX-RS library & servlet name now defined), I am able to complete new web project wizard on first page (as expected).
Comment 4 Eric Peters CLA 2010-08-20 16:12:46 EDT
Released to 3.2.2 & HEAD.
Comment 5 Eric Peters CLA 2010-08-20 16:13:07 EDT
Released to 3.2.2 & HEAD.