aspose file tools*
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "eclipse workspace ruined" Watch "eclipse workspace ruined" New topic
Author

eclipse workspace ruined

Wendy Gibbons
Bartender

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
Bartender

Joined: Oct 21, 2008
Posts: 1107

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

Install location:
file:/c:/eclipsex2/x2eclipse/
Configuration file:
file:/c:/eclipsex2/x2eclipse/configuration/config.ini loaded
Configuration location:
file:/c:/eclipsex2/x2eclipse/configuration/
Framework located:
file:/c:/eclipsex2/x2eclipse/plugins/org.eclipse.osgi_3.7.2.v20120110-1415.j
ar
Loading extension: reference:file:javax.transaction_1.1.1.v201105210645.jar
eclipse.properties not found
Framework classpath:
file:/c:/eclipsex2/x2eclipse/plugins/org.eclipse.osgi_3.7.2.v20120110-1415.j
ar
file:/c:/eclipsex2/x2eclipse/plugins/
file:/c:/eclipsex2/x2eclipse/plugins/javax.transaction_1.1.1.v201105210645.j
ar
Splash location:
c:\eclipsex2\x2eclipse\plugins\org.eclipse.platform_3.7.2.v201202080800\spla
sh.bmp
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: 16142
    
  21

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
Bartender

Joined: Oct 21, 2008
Posts: 1107

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

Joined: May 14, 2008
Posts: 5836
    
    7

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: http://aspose.com/file-tools
 
subject: eclipse workspace ruined