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

Bug 325991

Summary: Regression: child projects not targeted to parent project's runtime
Product: [WebTools] WTP Common Tools Reporter: Carl Anderson <ccc>
Component: wst.commonAssignee: Carl Anderson <ccc>
Status: RESOLVED FIXED QA Contact: Carl Anderson <ccc>
Severity: major    
Priority: P3 CC: jasonpet
Version: 3.2Flags: ccc: review+
Target Milestone: 3.2.2 P   
Hardware: PC   
OS: All   
Whiteboard:
Bug Depends on: 325860    
Bug Blocks:    
Attachments:
Description Flags
Same patch none

Description Carl Anderson CLA 2010-09-22 13:05:53 EDT
This bug is for inclusion in WTP 3.2.2 patches

+++ This bug was initially created as a clone of Bug #325860 +++

This is a regression caused by the rework for the Deployment Assembly page.

All the way up to WTP 3.1.2, if you add a reference to a child project to a project, the child project's targeted runtime is set to be the parent project's targeted runtime.  This is important, since the child project needs to be able to compile/run on the same server as the parent.

In WTP 3.2.x, AddComponentToEnterpriseApplicationOp still handles this for EAR projects. However, AddReferencesOp does not handle this for other child projects.
Comment 1 Carl Anderson CLA 2010-09-22 13:07:10 EDT
Created attachment 179395 [details]
Same patch
Comment 2 Carl Anderson CLA 2010-10-04 14:34:41 EDT
Committed to R3_2_2_patches