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 46625

Summary: Files view does not react to changes in Sources and SourceGroup
Product: projects Reporter: Jesse Glick <jglick>
Component: Generic InfrastructureAssignee: Petr Hrebejk <phrebejk>
Status: CLOSED FIXED    
Severity: blocker    
Priority: P3    
Version: 4.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 41535    

Description Jesse Glick 2004-07-27 17:59:20 UTC
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.)
Comment 1 Petr Hrebejk 2004-09-02 14:23:29 UTC
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
Comment 2 Marian Mirilovic 2005-12-20 15:51:00 UTC
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.