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 - Files view does not react to changes in Sources and SourceGroup
Summary: Files view does not react to changes in Sources and SourceGroup
Status: CLOSED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Petr Hrebejk
URL:
Keywords:
Depends on:
Blocks: 41535
  Show dependency tree
 
Reported: 2004-07-27 17:59 UTC by Jesse Glick
Modified: 2006-03-24 10:05 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

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