Bug 226177 - [Import/Export] Inconsistent behavior of Import Project when using UNC names
Summary: [Import/Export] Inconsistent behavior of Import Project when using UNC names
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 3.2.2   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact: Prakash Rangaraj CLA
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2008-04-08 15:07 EDT by Alex Bernstein CLA
Modified: 2009-04-16 15:51 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Bernstein CLA 2008-04-08 15:07:43 EDT
Build ID: 3.2

Steps To Reproduce:
1. Invoke "Import Existing Project"
2. Select "Root directory" option
3. Type in UNC name (such as \\servername\sharename") an press Browse to see projects in that location.
4. Select a project and click Finish (does not matter if you copy files into your workspace, I did not).

More information:
The results in your workspace after import will be different depending on what 'sharename' is pointing to.

1) If it points to a project folder within workspace, you will get proper project imported;
2) If it points to a project folder which was copied out of workspace, it will result in imported EMPTY project (this is what our customers need to do), but
3) If you map network drive to the same share with project outside workspace (from #2 above), you will get a proper project with all its contents imported.
Comment 1 Tod Creasey CLA 2008-05-01 09:42:58 EDT
Alex I can't replicate this.

When you are talking about "copied out of the workspace" do you mean exported out or dragged out?

Either way are you trying to import projects that already have one with the same name in the workspace? If so they will be filtered out of the list.

Comment 2 Alex Bernstein CLA 2008-07-28 19:16:11 EDT
Copied out means go to windows explorer (no Eclipse), select a folder that is a project root and copy it to C:\. Then create a brand new workspace (no project) and follow the steps to import the files from C:\<PROJECT_NAME>, only use a UNC name instead of drive/folder. 
I am trying to simplify our customer usercase, but this is the essence of what they are doing.
Comment 3 Paul Webster CLA 2009-04-16 14:39:41 EDT
John, did we postpone full UNC path support?

PW
Comment 4 John Arthorne CLA 2009-04-16 15:51:49 EDT
This works in 3.5 M6. I imported from a UNC path using "Import existing project", and it worked regardless of the location of the project. I tried both with and without copying project contents and both cases work fine.