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

Bug 365135

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: cbridgha: review+
Target Milestone: 3.3.1 P   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 121460, 357866    
Bug Blocks: 357570, 358777, 357016, 360043    
Attachments:
Description Flags
Proposed patch for 3.3.1P (UI) none

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

+++ 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-11-29 16:10:33 EST
An adopter requested this bug to be backported to WTP 3.3.1P. Note that this includes only the UI portion of the original Bug #121460
Comment 2 Roberto Sanchez Herrera CLA 2011-11-29 16:16:26 EST
Created attachment 207691 [details]
Proposed patch for 3.3.1P (UI)
Comment 3 Chuck Bridgham CLA 2011-11-30 15:24:01 EST
approved
Comment 4 Carl Anderson CLA 2011-12-01 16:00:17 EST
Committed to R3_3_1_patches