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
public void inputChanged(Viewer viewer, Object oldInput,
					Object newInput) {
			}
		});
		projectsList.setLabelProvider(new LabelProvider() {
			/*
			 * (non-Javadoc)
			 * 
			 * @see org.eclipse.jface.viewers.LabelProvider#getText(java.lang.Object)
			 */
			public String getText(Object element) {
				return ((ProjectRecord) element).getProjectLabel();
			}
		});
		projectsList.addCheckStateListener(new ICheckStateListener() {
			/*
			 * (non-Javadoc)
			 * 
			 * @see org.eclipse.jface.viewers.ICheckStateListener#checkStateChanged(org.eclipse.jface.viewers.CheckStateChangedEvent)
			 */
			public void checkStateChanged(CheckStateChangedEvent event) {
				setPageComplete(projectsList.getCheckedElements().length > 0);
			}
		});
		projectsList.setInput(this);
		projectsList.setComparator(new ViewerComparator());
		createSelectionButtons(listComposite);
	}
	/**
	 * Create the selection buttons in the listComposite.