昨晚我的机器在Eclipse Galileo打开时重新启动.没什么大不了的吧?
今天早上,我启动了我的机器并尝试打开Eclipse.我没有打开,而是看到了这个:

错误日志表明退出未保存的更改会导致某种问题.
如何让Eclipse打开并忽略那些未保存的更改?我甚至无法用Eclipse打开一个不属于该项目的文本文件?必须有一种方法来重置这种状态.
编辑:
我已将问题跟踪到单个文件.当我在下面删除这个文件时,Eclipse会打开但我的项目会丢失.
.metadata\.plugins\org.eclipse.core.resources\.snap
Run Code Online (Sandbox Code Playgroud)
我确实使用了subversion插件,但我不认为这是问题所在.以下是错误日志所说的内容(缩写):
!SESSION 2010-08-17 10:13:01.718 -----------------------------------------------
eclipse.buildId=M20100211-1343
java.version=1.4.2_06
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_CA
Command-line arguments: -os win32 -ws win32 -arch x86
!ENTRY org.eclipse.core.resources 2 10035 2010-08-17 10:13:02.656
!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.
!ENTRY org.eclipse.osgi 4 0 2010-08-17 10:13:02.671
!MESSAGE An error occurred while automatically activating bundle org.eclipse.core.resources (33).
!STACK 0
org.osgi.framework.BundleException: Exception in org.eclipse.core.resources.ResourcesPlugin.start() of bundle org.eclipse.core.resources.
at …Run Code Online (Sandbox Code Playgroud) 我正在研究PDE(Eclipse插件项目).
我需要获得工作空间路径.
我的文本小部件(swt)应该设置当前工作空间路径.
如何在eclipse中获取工作空间路径?