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

Summary: Cannot create folder with same name as file basename
Product: projects Reporter: Peter Nabbefeld <epdv>
Component: Generic Projects UIAssignee: Tomas Zezula <tzezula>
Status: CLOSED FIXED    
Severity: blocker    
Priority: P3    
Version: 4.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 41535    

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.