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 269966 - Externally deleted files are listed in project as "broken" and cannot be removed from the project via GUI
Summary: Externally deleted files are listed in project as "broken" and cannot be remo...
Status: RESOLVED INVALID
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-02 09:11 UTC by gromit190
Modified: 2017-03-02 10:52 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Externally deleted file described as "broken", can not remove it project (14.27 KB, image/jpeg)
2017-03-02 09:11 UTC, gromit190
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gromit190 2017-03-02 09:11:31 UTC
Created attachment 163744 [details]
Externally deleted file described as "broken", can not remove it project

Steps to reproduce:
- Create a C/C++ Application project
- Create a new class
- Delete any file of the new class externally

File remains listed Netbeans project (even after scanning for external changes). It can not be deleted and attempting to open it yields no output.
To remove it from the Netbeans project I have to edit "nbproject/configurations.xml"
Comment 1 soldatov 2017-03-02 10:02:35 UTC
> File remains listed Netbeans project (even after scanning for external changes)
1) Externally deleted file will not disappear in Projects tab. It is expected behavior. Often "make clean" deletes generated source files, but "make" restores source file again. If IDE will remove such files from project You will miss file settings.

> cannot be removed from the project via GUI
2) It is not a true. You can use "Remove From Project" context menu item on file node.
Comment 2 Alexander Simon 2017-03-02 10:52:10 UTC
not a bug