new naming conventions: watch your step

Marvin S. Addison marvin.addison at gmail.com
Wed Oct 16 09:32:52 EDT 2013


> If you are on a system with a case-insensitive file system (certainly
> Mac, probably Windows) and perform a class refactoring in Eclipse, it
> doesn't do everything you'd like.

I've been burned by this very same thing in another project and it took 
me a while to figure out what was going on.

> Deleting your workspace and downloading the project again does not
> fix this. I found that the simplest fix was to fire up a Linux
> machine (with a case-sensitive file system)

A Mac alternative is to create a case-sensitive HFS+ filesystem (e.g. a 
file-backed sparse volume) and copy your Eclipse workspace there for the 
refactoring work. I did what you suggested in the past but on a Linux 
VM, and found it was like working in a glove box. I've got a 
case-sensitive area on my Mac now for future cases where refactoring 
involves files that differ only in case.

M


More information about the dev mailing list