Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 341851 - [rename] Refactoring (renaming) gives "already exists" error for upper/lower case change
Summary: [rename] Refactoring (renaming) gives "already exists" error for upper/lower ...
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: 3.8 M6   Edit
Assignee: Dani Megert CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-04 17:50 EDT by Anson Chu CLA
Modified: 2012-02-22 02:31 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anson Chu CLA 2011-04-04 17:50:35 EDT
Build Identifier: M20100909-0800

When I try to rename my project from "project1" to "Project1" using rightclick->refactor->rename, I get the error "A folder with that name already exists". I have to first change it to something else like "proj1" and then back to "Project1".

Reproducible: Always

Steps to Reproduce:
1. Create new java project name "project1"
2. Refactor the project name to "Project1"
3. Will see the error in the dialogue box not letting you continue.
Comment 1 Dani Megert CLA 2012-02-21 06:26:42 EST
Fixed in master: 7f9291ce60a54ed766ec040d129854eb263d7bba
Comment 2 Paul Benedict CLA 2012-02-21 18:05:37 EST
Is this fix also applicable to classes? For years, I've encountered this bug on Windows if I were to rename, for example, Foreach.java to ForEach.java
Comment 3 Dani Megert CLA 2012-02-22 02:31:33 EST
(In reply to comment #2)
> Is this fix also applicable to classes? 
No, that case got fixed long time ago.