All Things Patrick - Working Hard to be Lazy!

  • home
  • blog
  • links
Home › Blogs › patrick's blog

Save Your Eclipse Workspace

patrick — Thu, 2007-12-27 16:08

This latest job is quite the mess. I'll probably elaborate later, but for now I've been having issues with Eclipse. I've not been able to get it to start & actually work... it just sits there all day at the splash screen eating up about 45% cpu as it sleeps.

I finally just killed the process, started over, had the same thing happen. I wasn't quite sure what to do - I'm on an AMD 64-bit dual core with 2 gigs of ram on Linux! I checked to make sure I was indeed using the Sun Java JVM for running - I was. I finally gave up & renamed the eclipse workspace directory's .metadata - I thought this might be the issue as my 1 project has some directories with over 20k php files - that's not including images, css, js, txt, etc files! Not to mention all of the subversion directories & files as well.

Eclipse started up almost instantly. So there was a problem with the workspace. Checking the .log file I noticed that where it was stuck was in 'building the workspace'.

I like Eclipse, but 1 thing I find very frustrating is a lot of those nifty settings I like to make (like being able to see line numbers) are stored only in the workspace, so once the workspace is gone - poof, there goes all those settings as well. Luckily for me, I hang out in a number of channels on <irc.freenode.net> and somebody in #eclipse suggested I delete the '.metadata/.plugins/org.eclipse.core.resources/' directory. Considering I like keeping some things before doing something drastic, I copied my '.metadata.bak/' directory over the new '.metadata/' directory, deleted the suggested directory, and started up Eclipse - instant Eclipse again! Unfortunately no projects.

This was good though - I now had all the settings I wanted to keep & just needed to set a few project specific settings to get back to where I was previously at...

Trackback URL for this post:

http://blog.whitelionsoft.com/trackback/60
  • Eclipse
  • patrick's blog
  • Add new comment

User login

What is OpenID?
Connect
Sign in using Facebook
  • Log in using OpenID
  • Cancel OpenID login
  • Create new account
  • Request new password

Pages

  • About Me
  • About My Boxen
  • Quotes
  • 3d Graphics
  • Color Picker App
  • Resume
  • dailymile
  • facebook
  • twitter

Tags in Tags

CSS Design Development Entertainment EVE-Online Firefox Friends Games Hardware HTML Internet Explorer JavaScript Job Movies & TV Operating Systems Personal PHP Security Windows YouTube
more tags

Blogroll

  • 456 Berea Street
  • Anne van Kesteren’s Weblog
  • Clients From Hell
  • Derick Rethans' blog
  • Doug Seitz
  • Eric Meyer
  • Terry Chay
  • The FAIL Blog

Powered by Drupal, an open source content management system
  • home
  • blog
  • links