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

Bug 209997

Summary: [Import/Export] Allow for importing folder from the file system that is not an Eclipse project
Product: [Eclipse Project] Platform Reporter: Brad Reynolds <bradleyjames>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: RESOLVED WONTFIX QA Contact: Prakash Rangaraj <prakash>
Severity: enhancement    
Priority: P5 Keywords: helpwanted
Version: 3.4   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Brad Reynolds CLA 2007-11-15 12:53:18 EST
We don't store our projects as Eclipse projects in our code repository.  They're folders that with the help of maven plugins will become Eclipse projects.  I can check out one of these projects directly from SVN into my workspace and then invoke maven to Eclipsify these projects.  But if I already have the folder checked out, but not yet Eclipsified, I can't import the folder without having a project defined in my workspace using the File System import wizard.  The error presented is "Cannot import this folder into a workspace with no open projects. Please create a project before importing."  This request is to be able to import from the file system via the import wizard a folder that is not yet an Eclipse project that I will then then transform into an Eclipse project via maven or some other external means.
Comment 1 Tod Creasey CLA 2007-11-16 08:23:58 EST
So you would want the project creation to happen then as well? If there is no project to import into then there is currently no way to represent an unbound folder in Eclipse.
Comment 2 Brad Reynolds CLA 2007-11-16 10:13:22 EST
How does Subclipse get around this then?  What I'm wanting is exactly what I get from Subclipse, except from the file system.  I want to checkout a folder and have it be a folder in Eclipse.  I'm guessing the CVS support would allow for this as well but I haven't tried.
Comment 3 Brad Reynolds CLA 2007-11-16 12:29:52 EST
After taking a second look, it looks like Subclipse does check it out as a project.  It creates a .project file in the folder that was checked out.
Comment 4 Susan McCourt CLA 2009-07-09 19:11:14 EDT
As per http://wiki.eclipse.org/Platform_UI/Bug_Triage_Change_2009
Comment 5 Prakash Rangaraj CLA 2009-07-10 08:08:20 EDT
The "Exising Projects into Workspace" import wizard, as the name says, needs the project to be present already. If you want to create a new project, then you should use the New Project wizard. In the first page of the wizard, uncheck the 'Use default location' and point to the folder that you have already checked out. That should do the trick.

The import wizard will not create .project files.