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 - Warning when creating project group with same case-folded name as existing group
Summary: Warning when creating project group with same case-folded name as existing group
Status: RESOLVED WORKSFORME
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 7.0
Hardware: PC Windows XP
: P4 normal (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-21 23:39 UTC by phpguru
Modified: 2013-08-16 14:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.