Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 326199

Summary: Add remove modules wizard page: web module that is part of an ear is shown on the same level as the ear
Product: [WebTools] WTP ServerTools Reporter: Dimo Stoilov <Dimo.Stoilov>
Component: jst.serverAssignee: Angel Vera <arvera>
Status: RESOLVED INVALID QA Contact: Angel Vera <arvera>
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Attachments:
Description Flags
screen shot of the ear and web modules none

Description Dimo Stoilov CLA 2010-09-24 16:53:28 EDT
Build Identifier: I20100921-1024

Noticed the following issue while doing a smoke test of http://build.eclipse.org/webtools/committers/wtp-R3.3.0-I/20100923155521/I-3.3.0-20100923155521

Reproducible: Always

Steps to Reproduce:
1)create web 2.5 project
2)create ejb 3.0 project
3)create ear 5.0 project that has both the ejb and the web
4)create a server that supports ear publishing
5) open the Add/remove modules wizard - there is the following list of modules:
a)the ear with ejb and web shown as children
b)the web module shown separately on the same level as the ear - see the attachment
Comment 1 Dimo Stoilov CLA 2010-09-24 16:54:54 EDT
Created attachment 179545 [details]
screen shot of the ear and web modules
Comment 2 Angel Vera CLA 2011-02-16 11:02:29 EST
Check your server delegate .getRootModule() as it must be returning the web project as a valid root module.