1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-01 21:35:40 +02:00
This commit is contained in:
Oleg Krasilnikov 2007-05-02 11:38:16 +00:00
parent 513a224530
commit 0a81ce7c3d

View file

@ -122,11 +122,9 @@ implements IExecutableExtension, IWizardWithMemory
*/ */
private void clearProject() { private void clearProject() {
if (lastProjectName == null) return; if (lastProjectName == null) return;
if (!existingPath) { try {
try { ResourcesPlugin.getWorkspace().getRoot().getProject(lastProjectName).delete(!existingPath, true, null);
ResourcesPlugin.getWorkspace().getRoot().getProject(lastProjectName).delete(true, true, null); } catch (CoreException ignore) {}
} catch (CoreException ignore) {}
}
newProject = null; newProject = null;
lastProjectName = null; lastProjectName = null;
lastProjectLocation = null; lastProjectLocation = null;