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
private final static String STORE_COPY_PROJECT_ID = "WizardProjectsImportPage.STORE_COPY_PROJECT_ID"; 
	private final static String STORE_ARCHIVE_SELECTED = "WizardProjectsImportPage.STORE_ARCHIVE_SELECTED"; 
	private Text directoryPathField;
	private CheckboxTreeViewer projectsList;
	private Button copyCheckbox;
	private boolean copyFiles = false;
	private ProjectRecord[] selectedProjects = new ProjectRecord[0];
	
	
	private static String previouslyBrowsedDirectory = ""; 
	
	
	private static String previouslyBrowsedArchive = ""; 
	private Button projectFromDirectoryRadio;
	private Button projectFromArchiveRadio;
	private Text archivePathField;
	private Button browseDirectoriesButton;
	private Button browseArchivesButton;
	private IProject[] wsProjects;
	
	private static final String[] FILE_IMPORT_MASK = {
			"*.jar;*.zip;*.tar;*.tar.gz;*.tgz", "*.*" }; 
	
	private String lastPath;
	
	
	private long lastModified;
	/**
	 * Creates a new project creation wizard page.