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.
Created attachment 119283 [details] Project to use for reproduction. In some cases projects that normally will delete with deletion of project directory will not fully delete and leave empty folders. For instance, the attached project will not delete fully after doing some operations. 1) Open attached project JEditor.zip. 2) Run Inspect and Transform>>If-Else must use braces. 3) The refactor window comes up - press the Refactor button. 4) When refactor is done - click the Undo button. 5) When Undo is done, delete project and check "Also delete sources under...". This path of empty directories are left on drive: C:\Users\Mark\Documents\NetBeansProjects\JEditor\src\org\gjt\sp See attached messages.log file.
Created attachment 119285 [details] log file Product Version: NetBeans IDE Dev (Build 201205090400) Java: 1.7.0_04; Java HotSpot(TM) Client VM 23.0-b21 System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
Tried to reproduce in a dev build on Ubuntu, but after step #4 and agreeing to undo the refactoring, I got an error message - something like "Cannot undo: following files were modified" and a list of a couple dozen source files. Save All was disabled so they were not "modified" in the normal sense. Guessing that this could be indicative of a root problem that can also lead to MackSix's symptoms, though it is also possible this is unrelated.
It works for me. Windows specific?
My comment #2 specified Ubuntu.
I tried with a recent daily build, and was not able to reproduce. Does this still happen? Thanks.
Yeah I have the JEdit 5 project and JEdit 5.1pre1 projects both setup the same in NetBeans for testing and it left the \src\org\gjt\ directory (empty) when I deleted the project using the same steps. Product Version: NetBeans IDE Dev (Build 201307152300) Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b16 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss