Bug 157961 - [IDE] Open Referenced projects opens unpredictable list of projects
Summary: [IDE] Open Referenced projects opens unpredictable list of projects
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-20 05:23 EDT by Peter Braker CLA
Modified: 2019-09-06 16:18 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Braker CLA 2006-09-20 05:23:30 EDT
Description: Open Referenced projects opens unpredictable list of projects

Steps to Reproduce: 
I a workspace with several Java projects, all closed, open one project.
On dialog "Should referenced Projects also be opened" click Yes.

Observed behaviour: 
The following situations may occur:
1. No other projects are opened
2. Sometimes only referenced project is opened
3. Sometimes multiple references projects are opened

It seems that somehow the list is based on projects which where open the last
time the project was closed.
However when closing several projects at once the result is unpredictable.

The current behaviour is unpredictable and gives a very unreliable impression.

In a specific example with some of my source projects:
I had the following 4 projects (with about 20 others), all closed:
- com.compuware.alturainfra
- com.compuware.alturainfra.projects
- com.compuware.alturainfra.licensing
- com.compuware.moftoolbase
When opening "moftoolbase" (which depends on the first 3) only the first two
projects were opened.
Then I manually opened the "licensing" project, closed all projects, after which
open "moftoolbase", "Should ...?" opened all three referenced projects.
Comment 1 John Arthorne CLA 2006-09-20 09:47:47 EDT
Does the set of projects that gets opened match the project references listed under Properties > Project References?  I.e., I wonder if it is your project references that are not stable for some reason in your workspace.
Comment 2 Peter Braker CLA 2006-09-20 10:20:48 EDT
No: in the dialog "Project References" all checkboxes were empty, both when the project was open and after I closed it (for my "moftoolbase" project), while two projects were opened this time after selecting "Yes" from the dialog when opening "moftoolbase": "alturainfra" and "alturainfra.licensing", so not "alturainfra.projects".
Comment 3 Peter Braker CLA 2006-09-21 09:57:40 EDT
Probably easier to reproduce:
I added EMF (Callisto 2.2.0 release) to my Eclipse 3.2 installation and proceeded with the first tutorial (http://dev.eclipse.org/viewcvs/indextools.cgi/*checkout*/org.eclipse.emf/doc/org.eclipse.emf.doc/tutorials/clibmod/clibmod.html).

This results in 3 plugin projects: myEMFProject, myEMFProject.edit and myEMFProject.editor.
The .editor plugin depends on the .edit plugin, which depends on the first plugin.

When all 3 project are open, I close the .editor project first and then close the rest, then open the .editor project and answer "Yes", the other two projects are opened. OK.
Then I close the myEMFProject project, then the .editor, and finally the .edit project. Open the .editor project, answer "Yes" and only the .edit project is opened.
Comment 4 Eclipse Webmaster CLA 2019-09-06 16:18:33 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.