Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 26725 Details for
Bug 103663
[Wizards] New Project Wizard on Windows: shouldn't allow entering same name with capital letters
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
proposed patch - apply to org.eclipse.ui.ide
oeui-103663.txt (text/plain), 3.63 KB, created by
Karice McIntyre
on 2005-08-31 13:45:33 EDT
(
hide
)
Description:
proposed patch - apply to org.eclipse.ui.ide
Filename:
MIME Type:
Creator:
Karice McIntyre
Created:
2005-08-31 13:45:33 EDT
Size:
3.63 KB
patch
obsolete
>Index: extensions/org/eclipse/ui/dialogs/WizardNewProjectCreationPage.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/WizardNewProjectCreationPage.java,v >retrieving revision 1.7 >diff -u -r1.7 WizardNewProjectCreationPage.java >--- extensions/org/eclipse/ui/dialogs/WizardNewProjectCreationPage.java 2 Aug 2005 17:40:37 -0000 1.7 >+++ extensions/org/eclipse/ui/dialogs/WizardNewProjectCreationPage.java 31 Aug 2005 16:59:21 -0000 >@@ -20,6 +20,7 @@ > import org.eclipse.core.runtime.IStatus; > import org.eclipse.core.runtime.Path; > import org.eclipse.core.runtime.Platform; >+import org.eclipse.jface.dialogs.IMessageProvider; > import org.eclipse.jface.wizard.WizardPage; > import org.eclipse.swt.SWT; > import org.eclipse.swt.events.SelectionAdapter; >@@ -445,6 +446,13 @@ > } > } > >+ // check if project with same name, different case exists >+ File directory = new Path(getProjectLocationFieldValue()).toFile(); >+ if (directory.isDirectory()){ // returns true if folder exists, even if case is different >+ setMessage(IDEWorkbenchMessages.WizardNewProjectCreationPage_projectExistsinOtherCaseMessage, IMessageProvider.WARNING); >+ return true; >+ } >+ > setErrorMessage(null); > setMessage(null); > return true; >Index: src/org/eclipse/ui/internal/ide/IDEWorkbenchMessages.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/IDEWorkbenchMessages.java,v >retrieving revision 1.17 >diff -u -r1.17 IDEWorkbenchMessages.java >--- src/org/eclipse/ui/internal/ide/IDEWorkbenchMessages.java 23 Aug 2005 19:03:00 -0000 1.17 >+++ src/org/eclipse/ui/internal/ide/IDEWorkbenchMessages.java 31 Aug 2005 16:59:21 -0000 >@@ -430,6 +430,7 @@ > public static String WizardNewProjectCreationPage_projectNameEmpty; > public static String WizardNewProjectCreationPage_projectLocationEmpty; > public static String WizardNewProjectCreationPage_projectExistsMessage; >+ public static String WizardNewProjectCreationPage_projectExistsinOtherCaseMessage; > public static String WizardNewProjectCreationPage_projectLocationExistsMessage; > public static String WizardNewProjectCreationPage_projectContentsLabel; > public static String WizardNewProjectCreationPage_projectContentsGroupLabel; >Index: src/org/eclipse/ui/internal/ide/messages.properties >=================================================================== >RCS file: /home/eclipse/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/messages.properties,v >retrieving revision 1.100 >diff -u -r1.100 messages.properties >--- src/org/eclipse/ui/internal/ide/messages.properties 23 Aug 2005 19:03:00 -0000 1.100 >+++ src/org/eclipse/ui/internal/ide/messages.properties 31 Aug 2005 16:59:21 -0000 >@@ -432,6 +432,7 @@ > WizardNewProjectCreationPage_projectNameEmpty = Project name must be specified > WizardNewProjectCreationPage_projectLocationEmpty = Project contents directory must be specified > WizardNewProjectCreationPage_projectExistsMessage = A project with that name already exists in the workspace. >+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. > WizardNewProjectCreationPage_projectLocationExistsMessage = Another project exists at the specified content directory. > WizardNewProjectCreationPage_projectContentsLabel = Project contents: > WizardNewProjectCreationPage_projectContentsGroupLabel = Project contents
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 103663
: 26725