Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 36962

Summary: [plan item] Improve workspace synchronization with file system
Product: [Eclipse Project] Platform Reporter: Jim des Rivieres <jeem>
Component: ResourcesAssignee: DJ Houghton <dj.houghton>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P4 CC: andy, bvukojevic, dev, dperezcar, eclipse, jed.anderson, john.arthorne, kratky, neil_buesing, nikolaymetchev
Version: 2.1Keywords: plan
Target Milestone: 3.0   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 50723    
Bug Blocks:    

Description Jim des Rivieres CLA 2003-04-25 18:27:37 EDT
Improve workspace synchronization with file system. A file resource in the 
workspace gets out of sync when the underlying file in the file system is 
created, deleted, or rewritten outside of Eclipse. File resources usually 
remains out of sync until the user explicitly hits Refresh. The Eclipse 
Platform should provide ways to keep the in-memory representation in sync with 
the file system; for example, by hooking OS file system callbacks where 
available, and by polling for file system changes in a background thread. 
[Platform Core, Platform UI] [Theme: User experience]
Comment 1 Morten Christensen CLA 2003-09-30 08:24:32 EDT
This would be a REALLY nice feature. Not only will it be an excellent addition 
the IDE but it will also useful for many new applications based on the "eclipse 
rich client platform". 

Please design this feature like SWT, so that it is useable outside the IDE (or 
at least as a reusable optional part of the rich client platform). 
Comment 2 John Arthorne CLA 2003-10-01 13:25:29 EDT
*** Bug 44011 has been marked as a duplicate of this bug. ***
Comment 3 John Arthorne CLA 2003-11-17 10:12:46 EST
*** Bug 46755 has been marked as a duplicate of this bug. ***
Comment 4 DJ Houghton CLA 2004-02-25 17:43:37 EST
Sorry for not updating this bug report sooner...I just noticed that it was stale.

Jed's auto-refresh plug-in (which has been available on the Platform/Core web
site for a couple of releases now) has been converted to use the new runtime
JobManager APIs and integrated into and shipped with the SDK.

A document describing the integration can be found here: (URL might be split
across lines)
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-core-home/documents/auto_refresh.html

The auto-refresh support is disabled by default and we encourage users to enable
it and provide feedback.

Note to self, this is also related to bug 2360.
Comment 5 DJ Houghton CLA 2004-04-02 15:43:36 EST
The auto-refresh plug-in has been integrated with the SDK.

The only remaining issue for this bug report is presentation of the auto-refresh
preferences in the Workbench preference pages. Once bug 50723 has been resolved
we can close this plan item.
Comment 6 DJ Houghton CLA 2004-04-05 13:54:58 EDT
Closing.