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 - A way ro remove files from a project without deleting them from the HD?
Summary: A way ro remove files from a project without deleting them from the HD?
Status: RESOLVED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 7.3.1
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-27 19:39 UTC by ikogan
Modified: 2016-07-07 08:39 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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