Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 325991 - Regression: child projects not targeted to parent project's runtime
Summary: Regression: child projects not targeted to parent project's runtime
Status: RESOLVED FIXED
Alias: None
Product: WTP Common Tools
Classification: WebTools
Component: wst.common (show other bugs)
Version: 3.2   Edit
Hardware: PC All
: P3 major (vote)
Target Milestone: 3.2.2 P   Edit
Assignee: Carl Anderson CLA
QA Contact: Carl Anderson CLA
URL:
Whiteboard:
Keywords:
Depends on: 325860
Blocks:
  Show dependency tree
 
Reported: 2010-09-22 13:05 EDT by Carl Anderson CLA
Modified: 2010-10-04 14:34 EDT (History)
1 user (show)

See Also:
ccc: review+


Attachments
Same patch (4.83 KB, patch)
2010-09-22 13:07 EDT, Carl Anderson CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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