Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forumsrecover lost work "resource is out of sync with the file system eclipse"
https://www.eclipse.org/forums/index.php/mv/msg/368495/898394/#msg_898394
i worked all day on my file and then by accident i overwrote it outside of eclipse
now there is only this message:
"resource is out of sync with the file system eclipse"
and i can't get back my work how it was before it was overwritten outside.
i have no svn nor git repo.
but the code must still be somewhere inside, otherwise eclipse couldnt find out, that it is out of sync
how can i get my code back?
please help]]>rubo77 Missing name2012-07-26T10:21:43-00:00Re: recover lost work "resource is out of sync with the file system eclipse"
https://www.eclipse.org/forums/index.php/mv/msg/368495/898404/#msg_898404
if you click on the file in the folder tree and choose "Compare with"-> "local history"
there you find the file before it was overwritten
saved a lot of work. Phuuuuh!!!]]>rubo77 Missing name2012-07-26T10:36:54-00:00Re: recover lost work "resource is out of sync with the file system eclipse"
https://www.eclipse.org/forums/index.php/mv/msg/368495/898420/#msg_898420
Shyam Prakash2012-07-26T11:11:26-00:00Re: recover lost work "resource is out of sync with the file system eclipse"
https://www.eclipse.org/forums/index.php/mv/msg/368495/972942/#msg_972942
This is a toy Android project that I've been playing with. (I'm surprised to see that it has been a year since I last looked at it. Doesn't feel like that long.) Last time I messed with it everything worked fine.
I've tried refreshing the project. The error message says that the error is with default.properties, and I've tried refreshing that file. I've set the auto-refresh flag. I've tried "Compare with" and it says there is no local history to compare with. (Looks like it would have aged off when I fired it up.) I've tried shutting down and restarting Eclipse a couple of times. I've tried altering the project from within Eclipse and I can see that the file in question is altered.
I don't think I've touched anything at all in my Eclipse workspace directory. The only thing that I can think of that even looked in there are a couple of backup programs that I've tried out. But, the only thing either of them should change is the archive bit.
I've been searching around and the only two fixes I've come across are to refresh and compare to local files. Is there something else that can trigger this message? Is there some other way to clear it?
Eclipse IDE for Java Developers
Version: Helios Service Release 1
Build id: 20100917-0705
Thanks,
Drake]]>Drake Christensen2012-11-06T01:21:30-00:00Re: recover lost work "resource is out of sync with the file system eclipse"
https://www.eclipse.org/forums/index.php/mv/msg/368495/973681/#msg_973681
David Wegener2012-11-06T14:37:45-00:00Re: recover lost work "resource is out of sync with the file system eclipse"
https://www.eclipse.org/forums/index.php/mv/msg/368495/974187/#msg_974187
About the only thing I can think of that I haven't done is reboot the computer. I'll go ahead and do that after posting this message.
Has anyone seen this behavior? Any other suggestions on how to troubleshoot this?
Drake]]>Drake Christensen2012-11-06T23:06:35-00:00Re: recover lost work "resource is out of sync with the file system eclipse"
https://www.eclipse.org/forums/index.php/mv/msg/368495/974192/#msg_974192
FYI, even though the error message mentions default.properties, there is no red x on that file. The red x is only on the root of the project tree.
Drake]]>Drake Christensen2012-11-06T23:13:05-00:00Re: recover lost work "resource is out of sync with the file system eclipse"
https://www.eclipse.org/forums/index.php/mv/msg/368495/974461/#msg_974461
> One thing I just tried was to go ahead and change default.properties in
> Notepad and save it, in order to give Eclipse an actual file out of sync
> situation. The auto-refresh kicked in. It asked if I wanted to
> incorporate the changes. It went and rebuilt the project while I
> watched. But it still says out of sync when I try to run it.
>
> FYI, even though the error message mentions default.properties, there is
> no red x on that file. The red x is only on the root of the project tree.
>
> Drake
Are you saying that the out of sync message is showing up as an error
and marking the project with a red x?
That doesn't sound like a normal Eclipse out of sync condition.
Also, what is a default.properties file? That is also not a normal
Eclipse file.
Have you installed some other plugin from a third party? If so, then
that may be giving the error. Check with the third party provider.]]>David Wegener2012-11-07T04:32:31-00:00Re: recover lost work "resource is out of sync with the file system eclipse"
https://www.eclipse.org/forums/index.php/mv/msg/368495/974620/#msg_974620
Quote:
Are you saying that the out of sync message is showing up as an error and marking the project with a red x?
Originally, in the error log was a line that complained of the out-of-sync error and listed default.properties. After the reboot the error no longer shows up.
Quote:
Also, what is a default.properties file? That is also not a normal Eclipse file.
default.properties is generated by the Android plug-in. I was hoping that if that plug-in was causing the problem that it would be well-known enough that someone here might recognize what's going on and know of a fix.
Now, it no longer shows any actual errors in the error log. The red x is still showing on the root of the project.
When I hover over the Run or Debug button, the tooltip says "Run (already running)"
When I click on either button I get a dialog that says, "Your project contains error(s), please fix them before running your application." But I can't find anything that tells me what the actual error is that it's complaining about.
Drake]]>Drake Christensen2012-11-07T07:41:47-00:00Re: recover lost work "resource is out of sync with the file system eclipse"
https://www.eclipse.org/forums/index.php/mv/msg/368495/975031/#msg_975031
The Problems view is where well behaved plugins are supposed to put project errors. Check there to see if it gives you any clue. If you don't find anything there, then your best bet is to post a question in an Android support forum.]]>David Wegener2012-11-07T14:40:19-00:00Re: recover lost work "resource is out of sync with the file system eclipse"
https://www.eclipse.org/forums/index.php/mv/msg/368495/975574/#msg_975574
Thank you for the pointer to the Problems View. I was not aware of it. That told me that the debug certificate had expired. I quick search and I found the solution to that. It finished building and appears to be working. (The emulator is still booting as I type this.)