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

Bug 278294

Summary: Content provider for "Modules" is not showing modules in nested folders.
Product: [WebTools] WTP Java EE Tools Reporter: Dimitar Giormov <dimitar.giormov>
Component: jst.j2eeAssignee: Dimitar Giormov <dimitar.giormov>
Status: RESOLVED FIXED QA Contact: Chuck Bridgham <cbridgha>
Severity: normal    
Priority: P3 CC: kaloyan
Version: 3.1Flags: cbridgha: review+
Target Milestone: 3.2.1   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Bug Depends on: 241466    
Bug Blocks:    
Attachments:
Description Flags
added support for nested modules and fixes inlib dir showing in the DD tree none

Description Dimitar Giormov CLA 2009-05-28 16:49:32 EDT
Originally the bug is found in: 241466 and is present after applying its patch


Content provider for "Modules" under Ear, in which it only
considers loose module files in the root, not nested folders.

Basically modules present in nested folder (different than lib) are not shown in the Deployment Descriptor tree as Modules.
Comment 1 Dimitar Giormov CLA 2010-05-28 06:50:44 EDT
Created attachment 170327 [details]
added support for nested modules and fixes inlib dir showing in the DD tree

Ok what are the problems that this patch addresses:

1. Ear DD node now shows correctly ejb/web/client/connector modules if they are packed in a nested folder.
2. Fixes library nodes. If the user changes the library configuration in the Deployment assembly the libraries that were in Lib folder were not shown. This can be worked around with close and open of the project. - Why this happened - since change in logic of Deployment assembly the starting slash was not processed correctly.
Comment 2 Chuck Bridgham CLA 2010-06-21 15:46:35 EDT
approved
Comment 3 Dimitar Giormov CLA 2010-06-23 04:47:33 EDT
committed and released.