File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes IDEs, Version Control and other tools and the fly likes eclipse workspace ruined Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "eclipse workspace ruined" Watch "eclipse workspace ruined" New topic

eclipse workspace ruined

Wendy Gibbons

Joined: Oct 21, 2008
Posts: 1107

I can't face rebuilding this workspace AGAIN, as I have quite a lot of work in it, is it safe to delete the .metadata? or will that effectivly be rebuilding the workspace.
Wendy Gibbons

Joined: Oct 21, 2008
Posts: 1107

from the debug (in case it actually tells anyone anything...)

Install location:
Configuration file:
file:/c:/eclipsex2/x2eclipse/configuration/config.ini loaded
Configuration location:
Framework located:
Loading extension: reference:file:javax.transaction_1.1.1.v201105210645.jar not found
Framework classpath:
Splash location:
Debug options:
file:/C:/eclipsex2/x2eclipse/1 not found
Time to load bundles: 10
Starting application: 1235
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16897

Don't know if this is the problem, but I was having issues with Eclipse Helios where when Eclipse was abnormally terminated, it took forever to restart. The way to get around this was to delete all the ".snap" files from the .metatdata.

Deleting the .metadata entirely is likely to lose more important project information, however. If you do that, you'll effectively have created a new workspace and you'll probably have to import the project files into it.

Customer surveys are for companies who didn't pay proper attention to begin with.
Wendy Gibbons

Joined: Oct 21, 2008
Posts: 1107

yep i can confirm that deleting the metadats lands you with an empty workspace
Peter Johnson

Joined: May 14, 2008
Posts: 5852

Yes, the .metadata directory contains all of the information that Eclipse maintains about the workspace. If you delete it, the workspace is gone, as far as Eclipse is concerned. You can the reopen the workspace directory in Eclipse and then import existing projects.

JBoss In Action
I agree. Here's the link:
subject: eclipse workspace ruined
It's not a secret anymore!