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.
|Summary:||Delete project with metadata into a separate directory|
|Component:||Generic Infrastructure||Assignee:||Tomas Stupka <tstupka>|
|Issue Type:||DEFECT||Exception Reporter:|
Description amobilia 2016-08-25 15:03:21 UTC
Steps to reproduce - Create a new PHP -> PHP Application => Project name : "myProject" => Check "Put Netbeans metadata into a separate directory" and define folder "myMetaData" (instead of myProject) [At this step, two folders are created : myProject and myMetaData] - Right click on the project "myProject" -> Delete... - Check the box "Also delete sources under "...path...\myMetaData" folder - Click on Yes What's happened : - Folder "myMetaData" is deleted - Folder "myProject" isn't deleted What's expected : - Both myMetaData and myProject folders to be deleted - The pop-up should ask to delete the sources... "myProject"
Comment 1 Tomas Mysik 2016-08-26 06:22:05 UTC
From some reason (based on issue #61546 but not clear to me) if the source dir is not underneath project dir, it is not deleted  (perhaps it is external directory typically not created by NetBeans?). Reassigning, please evaluate. Thanks.  DefaultProjectOperationsImplementation.java, line 190