Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 360043 - Folder for deployment descriptor field does not display the correct options when there are two or more mappings containing a DD
Summary: Folder for deployment descriptor field does not display the correct options w...
Status: RESOLVED FIXED
Alias: None
Product: WTP Java EE Tools
Classification: WebTools
Component: jst.j2ee (show other bugs)
Version: 3.2.5   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.3.2   Edit
Assignee: Roberto Sanchez Herrera CLA
QA Contact: Chuck Bridgham CLA
URL:
Whiteboard:
Keywords:
Depends on: 357866 359906 365135 365138
Blocks:
  Show dependency tree
 
Reported: 2011-10-05 16:49 EDT by Roberto Sanchez Herrera CLA
Modified: 2011-11-29 16:21 EST (History)
1 user (show)

See Also:
cbridgha: review+


Attachments
Patch for R3_3_maintenance and HEAD (1.42 KB, patch)
2011-10-24 12:35 EDT, Roberto Sanchez Herrera CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Roberto Sanchez Herrera CLA 2011-10-05 16:49:33 EDT
+++ 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-10-05 16:50:19 EDT
This bug is created to commit to WTP 3.3.2 and 3.4.
Comment 2 Roberto Sanchez Herrera CLA 2011-10-24 12:35:35 EDT
Created attachment 205846 [details]
Patch for R3_3_maintenance and HEAD
Comment 3 Chuck Bridgham CLA 2011-10-24 13:18:06 EDT
same changes previously approved in 3.2.5...  approve
Comment 4 Roberto Sanchez Herrera CLA 2011-10-24 17:07:08 EDT
Code committed to R3_3_maintenance and HEAD for WTP 3.3.2 and 3.4. Resolving bug.