Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 8961

Summary: [resources] Unexpected CASE_VARIANT_EXISTS errors
Product: [Eclipse Project] Platform Reporter: Simon Arsenault <simon_arsenault>
Component: ResourcesAssignee: Platform-Resources-Inbox <platform-resources-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Simon Arsenault CLA 2002-02-01 14:53:15 EST
I create a simple project called "Test" and just use the default location. I 
then create another simple project called "test" and specify the location to 
be "d:\temp\junk" (i.e a directory outside my workspace). I get an 
CASE_VARIANT_EXISTS error.

Does not seem like the expected behavior. I'm using build 2002-01-24
Comment 1 DJ Houghton CLA 2002-02-02 10:34:54 EST
The method will fail because a case variant in the workspace already exists. 

What is the behaviour that you expect?
Comment 2 Simon Arsenault CLA 2002-02-04 09:20:30 EST
I thought the case variant stuff only applied to the actual file system 
directory specified for the location. That the workspace itself was case 
sensitive.

Am I correct to say that on Linux, this scenario is permitted, but not on 
Windows because this OS is case insensitive - even though the limitation in 
this scenario is imposed by the workspace, not the file system of the OS? We 
(ui team) need to understand how this works and what are the limitation so we 
can find a way to show this to the user - it will not be obvious to the user 
this scenario is not allowed.
Comment 3 John Arthorne CLA 2002-02-04 09:29:23 EST
I discussed this with Simon on Friday and it seems to be a bug.  Since the two 
projects are in different locations, there is no filesytem collision so we 
should allow it.
Comment 4 John Arthorne CLA 2002-02-06 14:58:44 EST
.
Comment 5 John Arthorne CLA 2002-02-06 14:59:08 EST
Closed by accident, reopening...
Comment 6 John Arthorne CLA 2002-03-21 11:40:49 EST
DJ, I thought you might want to take a look at this since you've completely 
rewritten that code.
Comment 7 DJ Houghton CLA 2002-04-11 14:00:58 EDT
Still a problem in build 2002-04-09.

We should allow different casing in the workspace if the user is not using the 
default content area.

Investigate complexity to fix to see if it is reasonable for 2.0.
Comment 8 DJ Houghton CLA 2004-10-29 09:31:15 EDT
Still a problem with build i1026.
Comment 9 John Arthorne CLA 2004-11-25 13:56:17 EST
Even thought it's technically possible to create these two projects, we can't
allow it.  We store several types of meta-data on a per-project basis in the
local file system (.projects directory, .history directory). These metadata
directories would collide if we allowed both of those projects to exist. 
Closing as won't fix.