Bug 100177 [Import/Export] Importing existing project with different case over existing project fails with empty error dialog
I20050610-1757 1. Have a Java project 'p' (lower-case p) on disk 2. Create a Java project 'P' (upper-case P) in your workspace 3. File > Import > Existing Projects Into Workspace 4. Select the directory that contains 'p' on disk 5. Finish Observe: You get an empty error dialog
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/wizards/datatransfer/WizardExternalProjectImportPage.java
}
    /**
     * Return whether or not the specifed location is a prefix
     * of the root.
     */
    private boolean isPrefixOfRoot(IPath locationPath) {
        return Platform.getLocation().isPrefixOf(locationPath);
    }
    /**
     * Set the project name using either the name of the
     * parent of the file or the name entry in the xml for 
     * the file
     */
    private void setProjectName(File projectFile) {
        
        if (projectFile == null)
            return;
        IPath path = new Path(projectFile.getPath());
        IProjectDescription newDescription = null;
        try {
            newDescription = getWorkspace().loadProjectDescription(path);
        } catch (CoreException exception) {
            
        }
        if (newDescription == null) {
            this.description = null;
            this.projectNameField.setText(""); 
        } else {
            this.description = newDescription;
            this.projectNameField.setText(this.description.getName());