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

Bug 191662

Summary: [Import/Export] Warn of duplicate projects in project import wizard
Product: [Eclipse Project] Platform Reporter: Krzysztof Daniel <krzysztof.daniel>
Component: UIAssignee: Tod Creasey <Tod_Creasey>
Status: VERIFIED FIXED QA Contact:
Severity: enhancement    
Priority: P3 Keywords: helpwanted
Version: 3.3Flags: krzysztof.daniel: review? (Tod_Creasey)
Target Milestone: 3.4 M4   
Hardware: PC   
OS: Windows XP   
Whiteboard: hasPatch
Attachments:
Description Flags
Patch that adds warning when not all files are displayed
none
The same patch but better formatted none

Description Krzysztof Daniel CLA 2007-06-08 05:19:46 EDT
Build ID: I20070601-1539

Steps To Reproduce:
1. Create a project.
2. Export it to *.zip file.
3. Close the project.
4. Try to import it.
5. Empty projects list.


More information:
This is pretty annoying, since I am using mylar and a workspace with many closed projects. If I try to import a project that already exists, I see nothing and I am pretty confused (there is no warning).
Comment 1 Tod Creasey CLA 2007-06-08 16:29:57 EDT
The project import intentionally removews exiting projects to prevent loss of work
Comment 2 Krzysztof Daniel CLA 2007-06-09 02:32:32 EDT
Tod,

I suppose current behavior is intentional. One thing I would like to see is warning, that some projects (names) have been hidden because they already exists in the workspace.
Comment 3 Tod Creasey CLA 2007-06-11 08:31:21 EDT
Reopening with feature request
Comment 4 Krzysztof Daniel CLA 2007-11-07 07:55:43 EST
Created attachment 82318 [details]
Patch that adds warning when not all files are displayed
Comment 5 Krzysztof Daniel CLA 2007-11-07 07:59:12 EST
Created attachment 82321 [details]
The same patch but better formatted
Comment 6 Tod Creasey CLA 2007-11-26 13:20:18 EST
This patch is fine for now as it gives a warning. In the end it would be better if we could show the projects we are not importing and optionally let people import them anyways.
Comment 7 Tod Creasey CLA 2007-11-26 13:49:19 EST
Patch released for build >20071126
Comment 8 Tod Creasey CLA 2007-12-11 10:47:36 EST
Verified in I20071211-0010