如何在干净模式下运行Eclipse?如果我们这样做会怎样? [英] How to run eclipse in clean mode? what happens if we do so?

查看:83
本文介绍了如何在干净模式下运行Eclipse?如果我们这样做会怎样?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果某些东西在我的Eclipse中无法正常工作或某些插件未正确加载,我通常会建议您以干净模式打开Eclipse.

If something is not working properly or some plug-ins are not loaded properly in my Eclipse I often get suggestion to open Eclipse in clean mode.

那么,如何在干净模式下运行?如果我这样做会怎样?

So, how to run in clean mode? And what happens if I do so?

推荐答案

它的作用:

如果设置为"true",则使用任何已缓存的数据 通过OSGi框架和eclipse 运行时将被清除干净.这将 清理用于存储捆绑软件的缓存 依赖解决方案和日食 扩展注册表数据.使用这个 选项将强制日食 重新初始化这些缓存.

if set to "true", any cached data used by the OSGi framework and eclipse runtime will be wiped clean. This will clean the caches used to store bundle dependency resolution and eclipse extension registry data. Using this option will force eclipse to reinitialize these caches.

如何使用它:

  • 编辑位于Eclipse安装目录中的eclipse.ini文件,并在第一行中插入-clean.
  • 或编辑用于启动Eclipse的快捷方式,并添加-clean作为第一个参数.
  • 或创建使用-clean参数调用Eclipse可执行文件的批处理或Shell脚本.此步骤的优点是,您可以保留脚本,并在每次要清理工作区时都使用它.您可以将其命名为eclipse-clean.bat(或eclipse-clean.sh).
  • Edit the eclipse.ini file located in your Eclipse install directory and insert -clean as the first line.
  • Or edit the shortcut you use to start Eclipse and add -clean as the first argument.
  • Or create a batch or shell script that calls the Eclipse executable with the -clean argument. The advantage to this step is you can keep the script around and use it each time you want to clean out the workspace. You can name it something like eclipse-clean.bat (or eclipse-clean.sh).

(来自: http://www.eclipsezone.com/eclipse/forums/t61566 .html )

其他eclipse命令行选项:

Other eclipse command line options: http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fmisc%2Fruntime-options.html

这篇关于如何在干净模式下运行Eclipse?如果我们这样做会怎样?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆