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 267703 - Delete project with metadata into a separate directory
Summary: Delete project with metadata into a separate directory
Status: NEW
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-25 15:03 UTC by amobilia
Modified: 2016-08-26 06:22 UTC (History)
1 user (show)

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 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 [1] (perhaps it is external directory typically not created by NetBeans?).

Reassigning, please evaluate. Thanks.
[1] DefaultProjectOperationsImplementation.java, line 190