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

Bug 365138

Summary: Folder for deployment descriptor field does not display the correct options when there are two or more mappings containing a DD
Product: [WebTools] WTP Java EE Tools Reporter: Roberto Sanchez Herrera <shr31223>
Component: jst.j2eeAssignee: Roberto Sanchez Herrera <shr31223>
Status: RESOLVED FIXED QA Contact: Chuck Bridgham <cbridgha>
Severity: normal    
Priority: P3 CC: ccc
Version: 3.2.5Flags: cbridgha: review+
Target Milestone: 3.3.1 P   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 359906    
Bug Blocks: 360043    
Attachments:
Description Flags
Proposed patch for 3.3.1P none

Description Roberto Sanchez Herrera CLA 2011-11-29 16:21:03 EST
+++ This bug was initially created as a clone of Bug #359906 +++

When I added the new advanced option and the Folder for deployment descriptor field, I incorrectly assumed that only one deployment descriptor file can exist in a project. But there can be cases where a project has two mappings to /, and both point to a folder that contains a DD (e.g. when using m2e-wtp). In this scenario, the Folder for deployment descriptor field only shows the first mapping found in the component file as eligible option.
Comment 1 Roberto Sanchez Herrera CLA 2011-11-29 16:21:52 EST
An adopter requests to port this fix to WTP 3.3.1P
Comment 2 Roberto Sanchez Herrera CLA 2011-11-29 16:25:28 EST
Created attachment 207692 [details]
Proposed patch for 3.3.1P
Comment 3 Chuck Bridgham CLA 2011-11-30 15:23:30 EST
approved
Comment 4 Carl Anderson CLA 2011-12-01 16:01:01 EST
Committed to R3_3_1_patches