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.
1. Right click on a C/C++ Project or folder and choose "Add Existing Items from Folders..." and add some folder with some files in it. 2. Close project and reopen it. Notice the added folder shows in the Project and Files windows. 3. Right click on the added folder in Projects Window and remove it. 4. The folder is removed in Project Window but still shows in Files Window. 5. The <sourceRootList> entry in project.xml is still present and is not removed, so the folder will always show in the Files Window. Workaround: Remove the everything between the <sourceRootList> </sourceRootList> you don't want and restart NetBeans. Product Version: NetBeans IDE Dev (Build 201308280001) Java: 1.7.0_40; Java HotSpot(TM) 64-Bit Server VM 24.0-b55 Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b40 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
If after manually deleting the project.xml <sourceRootList> entries and then adding a folder later, NetBeans automatically writes the old entries that were removed back to the list. Workaround: None that I know of. (Deleting cache?)
I see now, there are entries in the project.xml and configuration.xml that both need removed or removed folders come back.
(In reply to MackSix from comment #1) > If after manually deleting the project.xml <sourceRootList> entries and then > adding a folder later, NetBeans automatically writes the old entries that > were removed back to the list. > Workaround: Project properties->General: - remove source root