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

Bug 357866

Summary: [modulecore] Behavior when multiple src dirs are mapped to component root
Product: [WebTools] WTP Common Tools Reporter: Roberto Sanchez Herrera <shr31223>
Component: wst.commonAssignee: Roberto Sanchez Herrera <shr31223>
Status: RESOLVED FIXED QA Contact: Carl Anderson <ccc>
Severity: enhancement    
Priority: P3 CC: cbridgha, ccc, ian.trimble, kaloyan, rfrost, ryman
Version: 1.0Flags: ccc: review+
Target Milestone: 3.3.2   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 121460    
Bug Blocks: 357570, 358777, 357016, 360043, 365135    
Attachments:
Description Flags
Patch for 3.3.2 and 3.4 none

Description Roberto Sanchez Herrera CLA 2011-09-15 15:14:09 EDT
+++ This bug was initially created as a clone of Bug #121460 +++

For an EJB project that includes additional features such that multiple src dirs are mapped to the "/" deploy path, the "META-INF/ejb-jar.xml" file will be created unpredictably under one of the src paths; the ejb facet install delegate should be altered such that the location of the DD is deterministic in the face of additional mappings to the root deploy path.
Comment 1 Roberto Sanchez Herrera CLA 2011-09-15 15:16:09 EDT
This bug is created to commit the UI portion of the fix for 121460 to WTP 3.3.2 and 3.4.
Comment 2 Roberto Sanchez Herrera CLA 2011-10-10 16:31:59 EDT
Created attachment 204908 [details]
Patch for 3.3.2 and 3.4

This is the proposed patch. I created it using R3_3_maintenance (3.3.2) but I verified it can be applied to HEAD (3.4) too.
Comment 3 Roberto Sanchez Herrera CLA 2011-10-19 15:01:39 EDT
Code committed to R3_3_maintenance and HEAD for WTP 3.3.2 and 3.4. Note that this bug is cloned from bug 121460, which already had PMC approval for UI changes in maintenance release.