升级到GWT 2.0 / Google应用引擎1.2.8后,Eclipse会打开工作区 [英] Eclipse hangs while opening workspace after upgrading to GWT 2.0/Google app engine 1.2.8
问题描述
升级到最新的GWT / Google应用程序引擎后,我在Eclipse中打开我的工作区时遇到问题。启动时,Eclipse几乎立即挂起,需要关闭。这只发生在我使用GWT与应用程序引擎的工作区,我不能一直重现它 - 有时它正常启动,有时我需要杀死过程并重新启动它。 Eclipse错误日志中没有任何内容。 Eclipse版本是Galileo,在Windows 7 RC上运行。
After upgrading to the newest GWT/Google app engine I have problems opening my workspace in Eclipse. On startup, Eclipse hangs almost immediately and needs to be closed. This happens only in the workspace where I use GWT with app engine, and I weren't able to consistently reproduce it - sometimes it starts normally, and sometimes I need to kill the proces and restart it. There is nothing in Eclipse error log. Eclipse version is Galileo, running on Windows 7 RC.
还有其他人也遇到类似的问题?我有谷歌,但谷歌今天不是我的朋友。
Anyone else had similar problems? I googled but Google is not my friend today.
编辑:升级到GWT 2.0.1后仍然发生。
Still happens after upgrading to GWT 2.0.1.
推荐答案
我感到沮丧,今天无法打开我的工作区,最后通过将项目导入到一个新的干净的工作区来解决这个问题。
I got frustrated with not being able to open my workspace today, and finally solved this by importing projects into a new clean workspace.
- 创建新工作区,并在Eclipse中打开它(创建.metadata文件夹)。
- 关闭Eclipse。
- 从旧工作区手动复制所有设置(最重要的设置存储在.metadata / .plugins / org.eclipse.core.runtime / .settings目录中)。或者,您可以在Eclipse中使用文件/导出/常规/首选项,然后使用文件/导入它们,但是我无法打开工作区来执行此操作。
- 打开新工作区。
- 文件/导入/常规/现有项目进入工作区。选择旧工作区的根文件夹,并注意检查将项目复制到工作空间。
- 重新启动Eclipse并检查新工作区中的所有内容是否正常工作。 >
- 删除旧的工作区。
- Create new workspace and open it in Eclipse (to create .metadata folder).
- Close Eclipse.
- Manually copy all settings from old workspace (the most important settings are stored in the .metadata/.plugins/org.eclipse.core.runtime/.settings directory). Alternatively, you could use File / Export / General / Preferences in Eclipse, and then File / Import them, but I wasn't able to open workspace to do that.
- Open the new workspace.
- File / Import / General / Existing projects into workspace. Select root folder of your old workspace, and take care to check "Copy project into workspace".
- Restart Eclipse and check that everything in the new workspace is working as it should.
- Delete your old workspace.
编辑:另一个,有一个更好的解决方法,显然是有效的: / p>
Another, and a bit better workaround which apparently works:
- 关闭Eclipse。
- 在工作空间之外的临时移动项目。
- 启动Eclipse,等待工作区加载(应该)。
- 再次关闭Eclipse。
- 将项目移回工作区。
- Close Eclipse.
- Temporary move offending project somewhere out of the workspace.
- Start Eclipse, wait for workspace to load (it should).
- Close Eclipse again.
- Move the project back to workspace.
这篇关于升级到GWT 2.0 / Google应用引擎1.2.8后,Eclipse会打开工作区的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!