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
*	Open an appropriate directory browser
     */
    private void handleLocationBrowseButtonPressed() {
        DirectoryDialog dialog = new DirectoryDialog(locationPathField
                .getShell());
        dialog.setMessage(DataTransferMessages.WizardExternalProjectImportPage_directoryLabel);
        String dirName = getProjectLocationFieldValue();
        if (dirName.length() == 0)
            dirName = previouslyBrowsedDirectory;
        if (dirName.length() == 0) 
            dialog.setFilterPath(getWorkspace().getRoot().getLocation()
                    .toOSString());
        else {
            File path = new File(dirName);
            if (path.exists())
                dialog.setFilterPath(new Path(dirName).toOSString());
        }
        String selectedDirectory = dialog.open();
        if (selectedDirectory != null) {
            previouslyBrowsedDirectory = selectedDirectory;
            locationPathField.setText(previouslyBrowsedDirectory);
            setProjectName(projectFile(previouslyBrowsedDirectory));
        }
    }
    /**
     * Returns whether this page's controls currently all contain valid 
     * values.
     *
     * @return <code>true</code> if all controls are valid, and
     *   <code>false</code> if at least one is invalid