This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 190501

Summary: Warning when creating project group with same case-folded name as existing group
Product: projects Reporter: phpguru
Component: Generic Projects UIAssignee: Milos Kleint <mkleint>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: P4    
Version: 7.0   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description phpguru 2010-09-21 23:39:06 UTC
Note case sensitivity on non-case-sensitive platform.

I have a project group named `animals`.

The IDE successfully created a new project group named `Animals`. 

The project group was created successfully however it raises a warning:

File animals.properties already exists in in filesystem C:\Documents and Settings\%username%\.netbeans\6.9\config (C:\Documents and Settings\%username%\.netbeans\6.9\config\Preferences\org\netbeans\modules\projectui\groups\animals.properties).

I believe the IDE should treat group names as case-insensitive (at least on Windows) and prohibit the creation of a project group if the name provided matches (case insensitive) an existing project, or ask if you want to override the existing one.
Comment 1 phpguru 2010-09-21 23:42:52 UTC
You can actually create `animals` again (a warning is raised about animals_2 already existing) and again (animals_3 already exists). The IDE behaves well if you delete `animals`, that is, animals_3 is deleted, then animals_2 is deleted. The UI becomes confusing, though.
Comment 2 Jesse Glick 2010-10-15 15:03:35 UTC
Dealing with case-folding filesystems is a lot of effort. No immediate plans to fix.