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.
If you make changes to the top-level (untyped) source groups in a freeform project - i.e. <source-folder>s in <folders> with no <type> - the Files view does not react appropriately (without closing and reopening the project). 1. ProjectsRootNode.ProjectChildren just calls PhysicalView.createNodesForProject but does not listen for changes in Sources, e.g. changes in the set of top-level folders. 2. PhysicalView.GroupNode does not react to changes in the SourceGroup. (Or so I presume, from looking at the source. Current ant/freeform does not fire changes in SourceGroup, only in Sources.)
Hope I did not introduced some new mwmory leak. See issue #48364 for geting correct source groups from freeform project See issue #48375 for reaming impl of changes in the source group's root folder Checking in projectui/src/org/netbeans/modules/project/ui/PhysicalView.java; /cvs/projects/projectui/src/org/netbeans/modules/project/ui/PhysicalView.java,v <-- PhysicalView.java new revision: 1.8; previous revision: 1.7 done Checking in projectui/src/org/netbeans/modules/project/ui/ProjectsRootNode.java; /cvs/projects/projectui/src/org/netbeans/modules/project/ui/ProjectsRootNode.java,v <-- ProjectsRootNode.java new revision: 1.28; previous revision: 1.27 done
This issue was solved long time ago. Because nobody has reopened it neither added comments, we are verifying/closing it now. If you are still able to reproduce the problem, please reopen. Thanks in advance.