| Summary: | Error when generate web.xml | ||
|---|---|---|---|
| Product: | [WebTools] WTP Java EE Tools | Reporter: | Raul Fernandez <raul.fernandez> |
| Component: | jst.j2ee | Assignee: | Naci Dai <naci.dai> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | CC: | asampaleanu, cbridgha, naci.dai |
| Version: | unspecified | Keywords: | helpwanted |
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Raul Fernandez
Off hand, my guess is annotations code needs to manage concurrancy of changes to DOM better. Raul, can you please provide some step by step instructions for me? Or .. better yet, a JUnit test case?! Thanks, I get this problem too when web.xml is generated by XDoclet. To reproduce, just create a Dynamic Web Project. Make sure XDoclet support is enabled in preferences (I was using XDoclet 1.2.2). Create a servlet under the "Servlets" item in the deployment descriptor node (J2EE perspective), and check off "Generate an annotated servlet class". I created a servlet with a one level deep package structure. The generated web.xml will have an error due to the "display-name" element being created after the "servlet-name" element. Switching these two elements removes the error, but any action that regenerates web.xml re-creates the error. Using Web Tools 1.5 final, Eclipse 3.2 final, Windows XP I think this might actually be a problem in the xdoclet component. Yes, xdoclet generates the web.xml. Have you tried xdoclet 1.2.3? Just attemting to assign to more specific component. No plan to fix this issue (Xdoclet issue) |