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 42021 - Lightweight recursive refresh in MasterFS
Summary: Lightweight recursive refresh in MasterFS
Status: RESOLVED DUPLICATE of bug 33162
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: rmatous
URL:
Keywords: API
Depends on:
Blocks:
 
Reported: 2004-04-15 14:11 UTC by Tomas Pavek
Modified: 2008-12-22 20:41 UTC (History)
2 users (show)

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 Tomas Pavek 2004-04-15 14:11:32 UTC
During the API review of MaterFS (issue 40958), an
idea was raised that MasterFS could help other
modules (e.g. MDR) with listening on external file
changes - thus eliminating the need for modules to
collect all the files in the whole file tree of
their interest. MasterFS would provide effective
refreshing of the file tree without having to
create all the FileObjects for all the files.
There were some possible approaches discussed with
conclusion that real requirements and use cases
are needed to be known first. But this suggestion
was considered worth recording.
Comment 1 Jesse Glick 2004-04-15 15:35:56 UTC
Not sure what this has to do with masterfs in particular; seems like a
general RFE for the Filesystems API. Potentially complex to implement.

Note that Eclipse deals with this issue by keeping some kind of
metadata about the "last seen and parsed" state of all files in a
project, which is remembered when the IDE shuts down; when you start
up again, the module (e.g. that which keeps a metadata cache) is
informed of all changes on disk since it last shut down.
Comment 2 rmatous 2004-04-19 14:27:06 UTC
I also think that this issue is more general. There must first precede
some API changes into filesystem library with clear documentation
about semantic of this functionality in general and then just provide
some special (maybe somehow sophisticated) impl. in MasterFileSystem.

As a result of above comment:
- changed issue type to RFE
- removed dependency of #40958 on this issue
Comment 3 Jesse Glick 2006-11-20 17:53:28 UTC

*** This issue has been marked as a duplicate of 33162 ***