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 46264 - Cannot create folder with same name as file basename
Summary: Cannot create folder with same name as file basename
Status: CLOSED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 4.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks: 41535
  Show dependency tree
 
Reported: 2004-07-16 20:38 UTC by Peter Nabbefeld
Modified: 2006-03-24 10:33 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 Peter Nabbefeld 2004-07-16 20:38:06 UTC
I've created a 'Project with existing Ant script'.
In my project's root are the following files and
directories:
- nbproject
- src
- build.xml

Now I want to create a folder 'build', but the
wizard complains 'The file build already exists.'
It seems, that the comparison of file names is
done without extensions, so this should be easily
fixed.
Comment 1 Petr Hrebejk 2004-07-19 10:01:38 UTC
Tomas, please ...
Comment 2 Tomas Zezula 2004-07-19 16:52:02 UTC
Fixed by Radek. Added some more fixes.

Checking in src/org/netbeans/modules/project/ui/ProjectUtilities.java;
/cvs/projects/projectui/src/org/netbeans/modules/project/ui/ProjectUtilities.java,v
 <--  ProjectUtilities.java
new revision: 1.8; previous revision: 1.7
done
Comment 3 Marian Mirilovic 2005-12-20 15:47:07 UTC
This issue was solved long time ago. Because nobody has reopened it neither
added comments, we are verifying/closing it now. 
If you are still able to reproduce the problem, please reopen. Thanks in advance.