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

Bug 330381

Summary: Parent modules should set the same targeted runtime on their children
Product: [WebTools] WTP Java EE Tools Reporter: Aidyl Kareh <amkareh>
Component: jst.j2eeAssignee: Aidyl Kareh <amkareh>
Status: RESOLVED FIXED QA Contact: Chuck Bridgham <cbridgha>
Severity: normal    
Priority: P3 CC: amkareh, ccc, jsholl
Version: unspecifiedFlags: cbridgha: review+
jsholl: review+
Target Milestone: 3.2.3   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Attachments:
Description Flags
Proposed Patch none

Description Aidyl Kareh CLA 2010-11-16 12:26:44 EST
Build Identifier: WTP 3.2.3

When you change the EAR's target runtime, the EAR's child projects get their runtime updated to the same runtime value. However, this new runtime does not cascade down to the child projects mapped into the module projects. When you change the runtime of a Java EE project or of its parent EAR, projects mapped into the Java EE projects should also have their runtime changed to the same value.

Reproducible: Always
Comment 1 Aidyl Kareh CLA 2010-11-16 12:29:53 EST
Created attachment 183244 [details]
Proposed Patch

This patch modifies the J2EEFacetRuntimeChangedDelegate and EarFacetRuntimeHandler classes so that the runtime changes on Java EE projects are cascaded to child projects.
Comment 2 Chuck Bridgham CLA 2010-11-17 15:03:33 EST
approve
Comment 3 Jason Sholl CLA 2010-11-18 10:43:56 EST
Code checked into 32M and HEAD for WTP 3.2.3 and 3.3