Bug 330553 [Import/Export] Importing a project that exists in workspace location merges the contents
(1) Create a project in the default location (2) Export it to an archive (3) Delete it (but don't choose the option to delete from disk) (4) Make some changes in the <workspace root>/<project> directory (4) Import the archive you exported in step 2 This results in files from both the archive and directory. If the directory already has a file thats available in the archive, then it doesn't modify it. Ideally we shouldn't be allowing the import at all.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/wizards/datatransfer/WizardProjectsImportPage.java
}
		} else {
			record.description.setName(projectName);
		}
		if (record.projectArchiveFile != null) {
			
			List fileSystemObjects = structureProvider
					.getChildren(record.parent);
			structureProvider.setStrip(record.level);
			ImportOperation operation = new ImportOperation(project
					.getFullPath(), structureProvider.getRoot(),
					structureProvider, this, fileSystemObjects);
			operation.setContext(getShell());
			operation.run(monitor);
			return true;
		}
		
		File importSource = null;
		if (copyFiles) {
			
			
			URI locationURI = record.description.getLocationURI();
			
			
			if (locationURI != null) {
				
				IStatus result = ResourcesPlugin.getWorkspace().validateProjectLocationURI(project,
						locationURI);
				if(!result.isOK())					
					throw new InvocationTargetException(new CoreException(result));