Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 130343 - DCR: Open related projects
Summary: DCR: Open related projects
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: John Arthorne CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-03 11:53 EST by Randy Hudson CLA
Modified: 2006-03-08 15:39 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Randy Hudson CLA 2006-03-03 11:53:40 EST
Given Project X, and Project B depends on Project A.

Select Project A, and close unrelated. B is considered to be related to A because it is downstream. So B remains open, X gets closed.

Start over, select X, and close unrelated.  A and B are now closed.  If A is opened, the B should be considered related again, and get re-opened if I choose "yes" to open related projects. The bug is that downstream related projects are not recognized when reopening.
Comment 1 Randy Hudson CLA 2006-03-03 11:54:56 EST
Another way to say "close unrelated" is to say "leave related open". So "related" should be calculated the same whether opening or closing.
Comment 2 John Arthorne CLA 2006-03-08 12:53:07 EST
There is no "open related" option when opening projects.  The user is prompted to open "required projects".  We can't compute downstream projects because it would require analyzing all closed projects. See discussion in bug 113178.
Comment 3 Randy Hudson CLA 2006-03-08 13:19:37 EST
Every closed project was at some point previously open. You could just store a terd in the workspace's .metadata that tracks projects that got closed and were downstream dependencies at the time they were closed. If you are wrong then the worst you have done is opened a project.

On a side note, this new context menuitem adds to a huge list of actions available on a project's popup. Perhaps a cascade could be used to reduce clutter. Or maybe use the "Project" top-level menu in the menubar? Why is the main project menu so much smaller than the popup menu on a project? Is that because its really the "workspace" menu ;-)
Comment 4 John Arthorne CLA 2006-03-08 13:40:11 EST

*** This bug has been marked as a duplicate of 128397 ***
Comment 5 John Arthorne CLA 2006-03-08 15:39:13 EST
Not a duplicate
Comment 6 John Arthorne CLA 2006-03-08 15:39:26 EST
No plans to support this.