Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 333998 - The Project Explorer shows mapped archives that are not in the root directory twice for EAR 1.2, 1.3 and 1.4 projects
Summary: The Project Explorer shows mapped archives that are not in the root directory...
Status: RESOLVED FIXED
Alias: None
Product: WTP Java EE Tools
Classification: WebTools
Component: jst.j2ee (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2.3   Edit
Assignee: Aidyl Kareh CLA
QA Contact: Chuck Bridgham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-11 11:27 EST by Aidyl Kareh CLA
Modified: 2011-01-12 15:16 EST (History)
3 users (show)

See Also:
cbridgha: review+
jsholl: review+


Attachments
Proposed Patch (5.21 KB, patch)
2011-01-11 11:33 EST, Aidyl Kareh CLA
ccc: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Aidyl Kareh CLA 2011-01-11 11:27:00 EST
Build Identifier: WTP 3.2.3

In the Project Explorer view, if you change the deploy path of a mapped module archive to a directory which is not in the default root directory, you will see that the archive node will appear twice (once under the 'Utility JARs' node and once under the 'Modules' node). This behavior only occurs for EAR 1.2, 1.3 and 1.4 projects. The correct behavior should be to keep displaying the archive node under 'Modules' -> 'Binary' regardless of its deploy path.

Reproducible: Always

Steps to Reproduce:
1. Create an EAR 1.2, 1.3 or 1.4
2. Go to the EAR's properties -> Deployment Assembly page and add an archive (i.e. from the file system)
3. Add a folder to the deploy path of the archive (i.e. foo/TestEJB.jar) (The Project Explorer will show the node twice)
Comment 1 Aidyl Kareh CLA 2011-01-11 11:33:16 EST
Created attachment 186521 [details]
Proposed Patch

Patch updates code to handle module archive with non root deploy paths and to continue displaying them as nodes under 'Modules' -> 'Binary'.
Comment 2 Chuck Bridgham CLA 2011-01-12 13:40:53 EST
approve
Comment 3 Carl Anderson CLA 2011-01-12 15:16:20 EST
Committed to R3_2_maintenance and HEAD for WTP 3.2.3 and WTP 3.3 M5