Community
Participate
Working Groups
I noticed this twice now, but I can't tell how to exactly reproduce the behaviour. I am editing a Java source file but there is *no* asterix in the tab indicating that the file has changed. When I exit Eclipse I am *not* prompted to save the file and changes are lost. I will further try and reproduce this behaviour. The bug seems new in 3.0 and I never saw it in previous milestone releases.
I could reproduce the problem again. I was in the Synchronize view and did a 'Override and Update' on the file. After the update happened, somehow Eclipse notified me that the file had changed on disk and asked if I wanted to reload it. After I answered 'yes', the file was in that 'mode' where editing did not set it to modified. It seems that this always happens if Eclipse notices that a file has changed on disk. It seems to display that dialog occasionally after CVS operations. I am not sure why. (My machine and the CVS repository both use a NTP time server to synchronize their system time.) The missing modified flag is extremely nasty, because even when you press Shift-S to save the file, the file will *not* be saved to disk and all changes are lost.
Which FS? Might be related to bug 67590.
It's a Windows 2000 Pro machine with a NTFS partition. I would be surprised if it was related to 67590, judging from the symptoms.
What team provider do you use? If CVS, do you work with CVS watch/edit enabled?
stupid me: could see in comment 1 that you are using CVS
Next time you see this please check whether the read-only status is shown in the status line.
One other thing: did you modify the file outside Eclipse? Did you check the "Refresh workspace automatically" Workbench preference?
Any third party plug-ins installed? If so, can you reproduce the problem in plain Eclipse SDK?
comment 4: not using watch/edit comment 7: not editing the file outside of Eclipse, Refresh workspace automatically is not checked comment 6: I can't think of any reason why the file should be read-only. It was maybe one week old and heavily edited by two people (mostly by me) via CVS. comment 8: plugins: jadclipse, net.sf.colorer_0.6.0, net.sf.tm_0.7.1, ru.nlmk.eclipse.plugins.profiler, org.mevenide.* The problem is still difficult to reproduce. It seems that I accidentially ran into it a couple of times, but it hasn't occurred since.
If you find a way to reproduce, try whether it can also be reproduced on plain Eclipse SDK.
hm - looked into it but don't have an idea of how this could happen. Unable to reproduce and have never seen it.
We tried on different platforms and cannot reproduce it. Please reopen if you have additional data.
Was the editor dirty when you ran 'override and update'? Comment 1 says that the 'file changed on disk' dialog showed up. I can get this dialog if the file I run 'override and update' on is dirty in the editor. However, this also made the 'Save Resources' dialog appear before any other dialog. Comment 1 does not mention this dialog.
Get rid of deprecated state.
.