Bug 225586 - Automatic refresh doesn't work on Windows when file stored on mounted (non-Windows) driver updated
Summary: Automatic refresh doesn't work on Windows when file stored on mounted (non-Wi...
Status: ASSIGNED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows Server 2003
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Platform-Resources-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-03 11:39 EDT by James Wilson CLA
Modified: 2019-09-06 15:35 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Wilson CLA 2008-04-03 11:39:04 EDT
Build ID: I20080330-1350

Steps To Reproduce:
1. Set auto-refresh (Window->Preferences->Workspace->"Refresh Automatically")
2. Save a file on a network drive (I expect it's only on non-Windows drives - mine's on a Solaris box)
3. Close file
4. Alter file timestamp (e.g. use touch from a command prompt)
5. Open file in Eclipse
Eclipse (both 3.3 and 3.4M6 says the resource is out-of-sync  and needs to be refreshed).


More information:
3.1.2 worked as I would expect it to.
I've synchronized the times on the machines in question.
Eclipse has been losing and re-gaining the focus before the file was opened (someone on the newsgroups thought that was when the auto-refresh was run).

I know it's not a show-stopper, but it is annoying and seems to my naive eyes like it shouldn't be too hard to make it work!
Comment 1 Szymon Brandys CLA 2008-04-28 09:54:16 EDT
We can have two scenarios here. It is not clear which one we have here.

1) We have a regular project in the workspace and we create a linked resource (in the project) to a file on a network drive.

2) We create a project in a non-default location on a network drive. Then we create a regular file in the project.

I used Mac to verify the issue. 

The case 1 is fine. The file is refreshed, however sometimes it takes some time, so you can see the "out-of-sync" message if you are too fast.

The case 2 doesn't work using Mac.

Could you confirm that on Linux case 1 works and case 2 doesn't?
Comment 2 James Wilson CLA 2008-04-28 10:00:28 EDT
I can confirm that on Solaris case 2 doesn't work.  I'm afraid my desktop machine is a Windows one, so I can't check case 1 here.
Comment 3 Eclipse Webmaster CLA 2019-09-06 15:35:23 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.