Bug 225754 [Import/Export] Project name should not be same as the folder name
The problem has been detected when I import Eclipse 3.3.2 projects into Eclipse 3.4M6. My projects are organized like this: myproject/common/util myproject/common/test myproject/classworking/asm myproject/classworking/reflect ... the corresponding names of these projects are: myproject-common-util myproject-common-test myproject-classworking-asm myproject-classworking-reflect ... But in 3.4M6, when I import those projects, it appears as: util test asm reflect ... this prevents me from import projects with same dirname (but in other sub-directories)
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/wizards/datatransfer/WizardProjectsImportPage.java
* Set the name of the project based on the projectFile.
		 */
		private void setProjectName() {
			try {
				if (projectArchiveFile != null) {
					InputStream stream = structureProvider
							.getContents(projectArchiveFile);
					
					
					if (stream == null) {
						if (projectArchiveFile instanceof ZipEntry) {
							IPath path = new Path(
									((ZipEntry) projectArchiveFile).getName());
							projectName = path.segment(path.segmentCount() - 2);
						} else if (projectArchiveFile instanceof TarEntry) {
							IPath path = new Path(
									((TarEntry) projectArchiveFile).getName());
							projectName = path.segment(path.segmentCount() - 2);
						}
					} else {
						description = IDEWorkbenchPlugin.getPluginWorkspace()
								.loadProjectDescription(stream);
						stream.close();
						projectName = description.getName();
					}
				}
				
				if (projectName == null) {
					IPath path = new Path(projectSystemFile.getPath());