1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 17:05:26 +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() {
if (lastProjectName == null) return;
if (!existingPath) {
try {
ResourcesPlugin.getWorkspace().getRoot().getProject(lastProjectName).delete(true, true, null);
} catch (CoreException ignore) {}
}
try {
ResourcesPlugin.getWorkspace().getRoot().getProject(lastProjectName).delete(!existingPath, true, null);
} catch (CoreException ignore) {}
newProject = null;
lastProjectName = null;
lastProjectLocation = null;