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

Bug 105359

Summary: [Import/Export] Reporting wrong number of projects importing existing Projects into a Workspace
Product: [Eclipse Project] Platform Reporter: cyee
Component: IDEAssignee: Platform UI Triaged <platform-ui-triaged>
Status: RESOLVED INVALID QA Contact: Prakash Rangaraj <prakash>
Severity: normal    
Priority: P5 CC: remy.suen
Version: 3.1Keywords: helpwanted
Target Milestone: ---   
Hardware: PC   
OS: Linux-GTK   
Whiteboard:

Description cyee CLA 2005-07-27 14:36:37 EDT
The number of projects are incorrectly shown when you a importing Existing 
projects into a Workspace.

The application reports ALL the available projects from the root directory 
rather than the selected directory.

Note, this issue does not appear in Win32.

Example:
If you have a root dir called proj_root that has 3 projects in it, say p1, p2 
and p3.

You select p2 as the project to be imported into the workspace, the projects 
available in p2 should only be selectable.

Eclipse will display ALL the projects it finds in p1, p2 and p3 rather than 
only the projects that are found in p2.
Comment 1 Karice McIntyre CLA 2005-10-07 11:41:59 EDT
I was not able to replicate this problem.  Using 3.1 on RedHat, here are my 
steps:
1. Import > Existing projects from workspace
2. Select root directory
3. Browse for a workspace directory that has projects in it.
Workspace
  >Project1
  >Project2
  etc..
Result: I see all the projects in that directory in the list below
4. Browse for a directory in the workspace directory that is one of the 
projects in that directory, say Project2
Result: I only see the Project 2 in the list below
All my projects were Java projects.

Is there something different about your setup?  Can you provide a screenshot of 
the problem in eclipse and of the setup of your directory in the file manager?
Comment 2 Remy Suen CLA 2007-08-30 20:01:48 EDT
(In reply to comment #0)
> The application reports ALL the available projects from the root directory 
> rather than the selected directory.

I don't really understand your comment. You say that it shows all the available projects from the root instead of the selected directory. Isn't the "selected" directory the root directory? Did you mean selecting it in the list? Selecting it in the list and clicking 'Refresh' will not tell the dialog to go into that folder and do another rescan. Is that what you want?

> Note, this issue does not appear in Win32.

I am testing this on Gentoo 2007.0 on 3.3.0.

> Example:
> If you have a root dir called proj_root that has 3 projects in it, say p1, p2 
> and p3.
> 
> You select p2 as the project to be imported into the workspace, the projects 
> available in p2 should only be selectable.
> 
> Eclipse will display ALL the projects it finds in p1, p2 and p3 rather than 
> only the projects that are found in p2.

I have difficulties understanding this part of your comment also. You bring up "projects available in p2" and "ALL the projects it finds in p1, p2 and p3", so are you implying that you have projects contained the p1, p2, and p3 folders?
Comment 3 Susan McCourt CLA 2009-07-15 12:12:28 EDT
"As per http://wiki.eclipse.org/Platform_UI/Bug_Triage_Change_2009"
Comment 4 Prakash Rangaraj CLA 2009-07-16 04:10:37 EDT
I'm closing this for now. Feel free to reopen when you have replies for Comment #1 and Comment #2.