[OT] eclipse 'refresh' doesn't work

From: Alex Hunsley (lard_at_tardis.ed.ac.molar.uk)
Date: 11/27/03


Date: Thu, 27 Nov 2003 10:58:52 +0000

A tad off topic, I hope you won't all hunt me down.

I'm using Eclipse 2.1.2. I edited a java source file outside of eclipse,
and have just found out that eclipse caches its copy of the file (d'oh!)
Apparently right clicking the file/class and hitting "Refresh" will
resync the cached copy with the HD copy, but it just doesn't work. I've
tried it with the file open, closed, tried it on the parent folder, I've
touched the file in question many time, still no refresh. I've even
relaunched eclipse, no effect.
It's a simple change that I can manually make in eclipse, but I really
want to know for future reference: how do I resync a file with the HD?

thanks
alex



Relevant Pages

  • Re: Fragile Fences
    ... >as warnings/errors/whatever in the compile tree until you refresh. ... you are treating the flat files as the ... However, in either case, the copy that counts for Eclipse is its ...
    (comp.lang.java.programmer)
  • Re: Script to replace header comment
    ... can't remember about NetBeans, but if you make changes to project files ... don't forget to refresh once you're back in the IDE. ... That is an aspect of Eclipse that I find annoying. ... We are not supposed to edit files ...
    (comp.lang.java.programmer)
  • Re: Script to replace header comment
    ... can't remember about NetBeans, but if you make changes to project files ... don't forget to refresh once you're back in the IDE. ... That is an aspect of Eclipse that I find annoying. ... in which case hit something else)". ...
    (comp.lang.java.programmer)
  • Re: Script to replace header comment
    ... can't remember about NetBeans, but if you make changes to project files ... don't forget to refresh once you're back in the IDE. ... That is an aspect of Eclipse that I find annoying. ... in which case hit something else)". ...
    (comp.lang.java.programmer)
  • Re: Fun with Eclipse
    ... trouble trying to modify Eclipse *.java files behind its back. ... changes kept disappearing. ... It is as if Eclipse were oblivious to your changes. ... I've never used it, but from what I understand from Help, on the Windows platform file changes outside Eclipse will be detected automatically due to a refresh monitor based on file system callbacks. ...
    (comp.lang.java.programmer)