Community
Participate
Working Groups
The UI allows me to create 2 projects with the same name but different casing. Steps: Create project named 'Test' Create project named 'test' They appear as 2 distinct projects but will share the same directory. NOTES: KH (5/4/2001 2:30:31 PM) Core issue
As of v205 Core has resolved the issue since you can no longer create a project with the same name but different casing on windows. However, the UI is inconsistent because if you create a project named 'Test' then try to create another project named 'Test' the UI will tell you in the title area that you are in error. However if (after creating project 'Test') i try to create a project named 'test' I do not see an error in the title area. I have to hit Finish to get the error message back (from Core, I assume) telling me that a resource named /Test already exists. shouldn't the UI be able to tell the user in the title area of the dialog that 'test' is already the name of an existing project?
PRODUCT VERSION: 047a
Find out what is going on. Why is the error message so late?
The short answer is: we don't do eager validation of case variant collisions because it is not a state that can easily be detected beforehand. It requires file system I/O, but the eager validation methods (IWorkspace#validatePath and IResource#exists()) are designed to be workspace-based, not file-system based. The long answer is an RFC: http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-core-home/rfc/0 001/index.html
We now check for the case variance errors and display a more appropriate error message. Fix in build > 2002-02-01