[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pdt-dev] Resource is out of sync with the file system
- From: Nick Boldt <nickboldt@xxxxxxxxx>
- Date: Tue, 06 Jan 2009 11:22:51 -0500
- Delivered-to: email@example.com
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=fhDcHNLOE7E2DQi6gdJ2THK+0ucYsvNiOqxv6NLFtpeDpRCCe7KSIrbdMQDgksR7yv AKou8qFjeoeuEN95ape3a9z34oc+vIWwWve6sP8dltMTRID/WwbTF5RLnCJrdw1hdIZw HZ9m2DvGj2v69HtGcehZg363MPnvVBVHIPFfQ=
- User-agent: Thunderbird 22.214.171.124 (X11/20081119)
This issue is particularly visible if you have parts of one project
checked out in the workspace as a different project; for example, you
might have /cvsroot/tools/org.eclipse.pdt checked out as a single huge
project, then Import > Existing projects the subfolder
org.eclipse.pdt.releng into your workspace. Any time you change
something in org.eclipse.pdt.releng, the equivalent file in the
org.eclipse.pdt/org.eclipse.pdt.releng project in your workspace will
become out of sync with the file system.
(As Michael says, this happens too when a file is modified outside
Even with the 'refresh workspace automatically' option enabled, this can
happen on large workspaces because it takes a while for Eclipse to "see"
all the file system changes and refresh silently.
As to the issue of having to close & reopen, that sounds like an Eclipse
bug, perhaps related to how much available memory it has been allocated
. Is the out-of-sync file a local file, or something from a remote
mount or share?
Michael Spector wrote:
This problem is not related to PDT. This usually happens when some
file was modified externally. Once you refresh your files in Eclipse,
and make sure that they are not modified from outside of Eclipse
you'll be OK.
2009/1/6 James Dempster <letssurf@xxxxxxxxx>:
I've just upgraded to PDT 2.0 (also tested with 2.1 beta) found a problem
when files becomes out of sync and you get the message
Resource is out of sync with the file system: '<filename>'.
Press 'F5' or select File > Refresh to refresh the file.
Press F5 or selecting File > Refresh doesn't fix it. I have to close the
file and reopen it.
Am I doing something wrong it seemed to work fine in PDT 1
pdt-dev mailing list
Nick Boldt :: http://wiki.eclipse.org/User:Nickb
Release Engineer :: Eclipse Modeling & Dash CBI