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 124869

Summary: Package/folder not deleted by safe delete
Product: java Reporter: Jiri Skrivanek <jskrivanek>
Component: RefactoringAssignee: _ bharathch <bharathch>
Status: VERIFIED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description Jiri Skrivanek 2008-01-08 09:34:24 UTC
Package/folder is not deleted because safe delete removes only sources. It started to happen since build 200801071200
where Safe Delete dialog is opened instead of Confirm Object Deletion on a package. To reproduce:

- create a java project
- create a new package (e.g. javaapplication.newpackage)
- copy Main.java into newpackage
- call Delete action on javaapplication.newpackage node and Safe Delete dialog is opened
- click OK and Main.java is removed but javaapplication.newpackage remains

Product Version: NetBeans IDE Dev (Build 20080107122025)
Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19
System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb)
Userdir: D:\Development\builds\nbUserdir-20080108100648
Comment 1 Jan Becicka 2008-01-08 15:47:44 UTC
Bharath, this is the one you emailed me about.
Comment 2 _ bharathch 2008-01-18 15:16:41 UTC
Working on it now.
Comment 3 _ bharathch 2008-03-16 14:22:01 UTC

*** This issue has been marked as a duplicate of 97072 ***
Comment 4 Jiri Skrivanek 2008-03-17 12:33:33 UTC
Verified.