2015-05-31 53 views
0

我正在Eclipse 4.2中开发RCP应用程序。Eclipse RCP定期工作区保存

我收到“周期性工作区遇到问题”错误。 我的问题是如何禁用定期工作区保存在我的RCP应用程序。

谢谢!

回答

0

您不能完全禁用它,但可以将间隔设置为非常大。

IWorkspaceDescription description = ResourcesPlugin.getWorkspace().getDescription(); 

description.setSnapshotInterval(interval in milliseconds); 

ResourcesPlugin.getWorkspace().setDescription(description); 

您还应该调查为什么您在保存时遇到问题。