View | Details | Raw Unified | Return to bug 103663
Collapse All | Expand All

(-)extensions/org/eclipse/ui/dialogs/WizardNewProjectCreationPage.java (+8 lines)
Lines 20-25 Link Here
20
import org.eclipse.core.runtime.IStatus;
20
import org.eclipse.core.runtime.IStatus;
21
import org.eclipse.core.runtime.Path;
21
import org.eclipse.core.runtime.Path;
22
import org.eclipse.core.runtime.Platform;
22
import org.eclipse.core.runtime.Platform;
23
import org.eclipse.jface.dialogs.IMessageProvider;
23
import org.eclipse.jface.wizard.WizardPage;
24
import org.eclipse.jface.wizard.WizardPage;
24
import org.eclipse.swt.SWT;
25
import org.eclipse.swt.SWT;
25
import org.eclipse.swt.events.SelectionAdapter;
26
import org.eclipse.swt.events.SelectionAdapter;
Lines 445-450 Link Here
445
            }
446
            }
446
        }
447
        }
447
448
449
        // check if project with same name, different case exists
450
        File directory = new Path(getProjectLocationFieldValue()).toFile();
451
		if (directory.isDirectory()){	// returns true if folder exists, even if case is different
452
			setMessage(IDEWorkbenchMessages.WizardNewProjectCreationPage_projectExistsinOtherCaseMessage, IMessageProvider.WARNING);
453
			return true;
454
		}
455
		
448
        setErrorMessage(null);
456
        setErrorMessage(null);
449
        setMessage(null);
457
        setMessage(null);
450
        return true;
458
        return true;
(-)src/org/eclipse/ui/internal/ide/IDEWorkbenchMessages.java (+1 lines)
Lines 430-435 Link Here
430
	public static String WizardNewProjectCreationPage_projectNameEmpty;
430
	public static String WizardNewProjectCreationPage_projectNameEmpty;
431
	public static String WizardNewProjectCreationPage_projectLocationEmpty;
431
	public static String WizardNewProjectCreationPage_projectLocationEmpty;
432
	public static String WizardNewProjectCreationPage_projectExistsMessage;
432
	public static String WizardNewProjectCreationPage_projectExistsMessage;
433
	public static String WizardNewProjectCreationPage_projectExistsinOtherCaseMessage;
433
	public static String WizardNewProjectCreationPage_projectLocationExistsMessage;
434
	public static String WizardNewProjectCreationPage_projectLocationExistsMessage;
434
	public static String WizardNewProjectCreationPage_projectContentsLabel;
435
	public static String WizardNewProjectCreationPage_projectContentsLabel;
435
	public static String WizardNewProjectCreationPage_projectContentsGroupLabel;
436
	public static String WizardNewProjectCreationPage_projectContentsGroupLabel;
(-)src/org/eclipse/ui/internal/ide/messages.properties (+1 lines)
Lines 432-437 Link Here
432
WizardNewProjectCreationPage_projectNameEmpty = Project name must be specified
432
WizardNewProjectCreationPage_projectNameEmpty = Project name must be specified
433
WizardNewProjectCreationPage_projectLocationEmpty = Project contents directory must be specified
433
WizardNewProjectCreationPage_projectLocationEmpty = Project contents directory must be specified
434
WizardNewProjectCreationPage_projectExistsMessage = A project with that name already exists in the workspace.
434
WizardNewProjectCreationPage_projectExistsMessage = A project with that name already exists in the workspace.
435
WizardNewProjectCreationPage_projectExistsinOtherCaseMessage = Multiple projects with the same name but different casing is not allowed on some file systems.  It is recommended that another project name be used.  
435
WizardNewProjectCreationPage_projectLocationExistsMessage = Another project exists at the specified content directory.
436
WizardNewProjectCreationPage_projectLocationExistsMessage = Another project exists at the specified content directory.
436
WizardNewProjectCreationPage_projectContentsLabel = Project contents:
437
WizardNewProjectCreationPage_projectContentsLabel = Project contents:
437
WizardNewProjectCreationPage_projectContentsGroupLabel = Project contents
438
WizardNewProjectCreationPage_projectContentsGroupLabel = Project contents

Return to bug 103663