Home > open-source, tricks > One Way to Restore Eclipse Workspace

One Way to Restore Eclipse Workspace

My desktop got frozen and I had to restart it. After the restart I could not start Eclipse with my workspace, although it could start with newly created workspaces. I tried this (with the right link to the Restorer). Nothing worked (the Restorer did not even start). Here is the solution that worked for me. Delete “.snap” file under “C:\path\myworkspace\.metadata\.plugins\org.eclipse.core.resources” (where C:\path\myworkspace is an example of a path to the workspace) and start Eclipse with your workspace.

Note: This worked for version 3.5.2.

Advertisement
  1. November 10, 2010 at 03:20 | #1

    Thanks a lot! You saved my day!

    This worked for me on Eclipse 3.5.2.R35 Galileo SR2

  2. -
    January 5, 2011 at 19:05 | #3

    Eclipse 3.4.1 here. Didn’t find a .snap file, but removing workspace/.metadata/.lock
    and workspace/.metadata/.log seems to have worked.

  3. Michael
    February 3, 2011 at 18:11 | #5

    great solution.
    glad i found your site.

    saved me some good time!

  4. dude
    May 5, 2011 at 02:52 | #6

    thanx man i owe u

  5. Marcel
    June 23, 2011 at 10:28 | #7

    thanks a lot man , you saved my day as well , and it worked for helios sr2

  6. C.Ranga Swamy
    July 13, 2011 at 01:40 | #8

    eclipse : IDE-helios-SR2-package/eclipse-jee-helios-SR2-linux-gtk-x86_64(2).tar.gz

    An error has occurred. See the log file
    /home/cupola-hadoop-project/hadoop-project-worlspace/.metadata/.log

    already i deleted :
    /home/cupola-hadoop-project/hadoop-project-worlspace/.metadata # rm .lock

    but problem not fixed can any give suggestion:

    regards
    C.Ranga Swamy
    crswamy929@gmail.com
    8904524975

    • July 13, 2011 at 07:50 | #9

      I should have added that I fixed that problem in Eclipse under Windows. Based on your information, you use Eclipse under Linux. My gut feeling is Eclipse corrupts workspaces differently on different platforms. I am still interested to hear how you fixed the problem (if you fix it).

      BTW, there is no way I could take a look at your .log file.

  7. Anatol
    February 6, 2012 at 04:47 | #10

    Thanks a lot for your tip.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.