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 231955

Summary: A way ro remove files from a project without deleting them from the HD?
Product: projects Reporter: ikogan
Component: Generic Projects UIAssignee: Tomas Stupka <tstupka>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P3    
Version: 7.3.1   
Hardware: PC   
OS: Windows XP   
Issue Type: ENHANCEMENT Exception Reporter:

Description ikogan 2013-06-27 19:39:29 UTC
Perhaps not the first time the question is asked, but I could not find anything similar. When a file is deleted from a project, it is physically deleted from the disk. Most of the time this is not what I wanted.
Comment 1 Milos Kleint 2013-06-28 06:20:29 UTC
There is no delete from project action. Delete is always physical.

This feature is heavily dependent on project type. There is no generic project format. 

In J2se project you can go to Sources panel in project properties and configure Includes/Excludes. Then the java file disappears from projects view. (So in a way it's implemented already)
In maven projects it's likely not possible to hide the file but you can exclude it from compilation by configuring the maven compiler plugin..

etc..
Comment 2 Martin Balin 2016-07-07 08:39:13 UTC
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