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

Bug 15915

Summary: Import from file system does not create new project
Product: [Eclipse Project] Platform Reporter: Dave Thomson <Dave_Thomson>
Component: UIAssignee: Tod Creasey <Tod_Creasey>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P2 CC: n.a.edgar
Version: 2.0Keywords: usability
Target Milestone: 2.0 M6   
Hardware: All   
OS: other   
Whiteboard:

Description Dave Thomson CLA 2002-05-13 21:56:54 EDT
Run eclipse.
Pop up menu in navigator.
Select import...
Select some files.
Now what...?  You can't select a folder because there are none, and it doesn't 
offer to create a new project for you.

Possible solutions:
1. Provide a way to create the project like several of the other imports do
or
2. Don't enable the menu if there are no project to import into
Comment 1 Nick Edgar CLA 2002-05-13 23:30:14 EDT
We can't do (2) since there are other kinds of importers that do not care if 
there are no projects, e.g. import external project, or import external plug-
ins and fragments.

Should do (1), or change the wizard page to just show a simple warning message 
if it can't be completed.
Comment 2 Tod Creasey CLA 2002-05-14 07:52:53 EDT
Creating a project would mean that the user would have to go through all of the 
project creation wizards before we import anything. We had previously decided 
that this would make the import wizard confusing due to the complexity of 
creating projects (which can be as much as 4 or 5 pages now).

We could add in the message on startup of the file and zip import wizard that 
there are no projects in the workspace.
Comment 3 Tod Creasey CLA 2002-05-14 11:07:08 EDT
Changed so that if there is no project avaialable the File and Zip import both 
come up with an error message saying 

Cannot import into a workspace with no open projects. Please create a project 
before importing.
Comment 4 Tod Creasey CLA 2005-05-10 14:54:09 EDT
Marking as closed.