views:

30

answers:

3

I had eclipse open when my computer crashed - now I've restarted and there are various errors in my project. It appears as if some files do not contain recently made changes. I am quite sure I saved everything before the crash. Does anyone know the best way to recover?

A: 

You probably just need to refresh each of your projects (select them in the Project Explorer and hit F5) and then clean and build them.

If your source files truly lost work it's probably because you didn't save them (most likely) or there's some bug with Eclipse or one of its plugins (far less likely).

Mark Peters
+1  A: 

Refresh your whole workspace and rebuild the projects.

Then compare your workspace to the files in the source repository to see what changes you have.

Thorbjørn Ravn Andersen
A: 

You may also try to start eclipse once from the command line with the -clean option.

nokul