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 197985

Summary: Remove checking for external changes
Product: platform Reporter: Tomas Zezula <tzezula>
Component: FilesystemsAssignee: Jaroslav Tulach <jtulach>
Status: RESOLVED FIXED    
Severity: normal CC: anebuzelsky, jglick, pjiricka
Priority: P1 Keywords: PLAN
Version: 7.0   
Hardware: PC   
OS: Mac OS X   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 26230    

Description Tomas Zezula 2011-04-22 05:34:01 UTC
In the NB 7.0 the native file system listeners were integrated to remove a need to do fs refresh when IDE gained focus. But the refresh was returned back because only few features like parsing.api are using the native listeners. The native listeners should be used for all FOs and FS refresh should be removed.
Comment 1 Jaroslav Tulach 2011-04-22 06:56:46 UTC
Why?
Comment 2 Tomas Zezula 2011-04-22 07:09:13 UTC
When I return to the IDE the IDE does refresh which is IO expensive and I see progress Checking for external changes".
But if performance is not more the problem feel free to keep it as an enhancement.
Comment 3 Jesse Glick 2011-04-22 14:29:44 UTC
I think this is a duplicate of bug #197964, right?
Comment 4 Jaroslav Tulach 2011-04-26 04:50:06 UTC
*** Bug 197964 has been marked as a duplicate of this bug. ***
Comment 5 Jaroslav Tulach 2011-06-02 08:18:48 UTC
ergonomics#a3a413c6b780
Comment 6 Jaroslav Tulach 2011-06-02 08:29:09 UTC
Run with 
-J-Dorg.netbeans.modules.masterfs.watcher.Watcher.level=FINE
to see what is going on.
Comment 7 Quality Engineering 2011-06-03 18:18:35 UTC
Integrated into 'main-golden', will be available in build *201106031000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/a3a413c6b780
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #197985: Use native Notifier for regular listeners, not only for recursive ones