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

Bug 235668

Summary: PDE Does not check for project names conflict
Product: [Eclipse Project] PDE Reporter: Inocencio Richiez <irichiez>
Component: UIAssignee: PDE-UI-Inbox <pde-ui-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: curtis.windatt.public, Olivier_Thomann
Version: 3.4Keywords: helpwanted
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Inocencio Richiez CLA 2008-06-04 14:28:48 EDT
Build ID: Build id: I20080516-1333

Steps To Reproduce:
1. create a WEB project name p1
2. delete p1, BUT on the "Delete Resources dialog, do NOT select the checkbox "Delete project contents on disk (cannot be done)".
3. press OK on the "Delete Resources" dialog.
4. Try to create a new PLUGIN (not web) project with the same name - p1: you will notice that the framwork allows you to. This will create a p1 PLUGIN project with a WebContent folder and other web project artifacts. This is wrong. Should have not permitted to create the project since a project with this name already exist in the file system.

NOTE: On Step 4. If you try to create a WEB instead of a plugin project, the framework will NOT allow you to do this with the same name. Web handles the checking of projects on the file system, PDE does not.


More information:
Comment 1 Olivier Thomann CLA 2008-06-04 14:41:32 EDT
Moving to PDE/UI
Comment 2 Ankur Sharma CLA 2011-06-20 01:47:56 EDT
PDE should warn before overwriting. However, this will only be fixed if a patch is provided.  Closing as WONTFIX.