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

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

问题描述

如果某些内容不正常或某些插件在我的Eclipse中正确加载。我经常得到建议,以干净的模式打开Eclipse。那么,如何运行在干净的模式?如果我这样做会发生什么?

If something is not working properly or some plugins are 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
运行时将被擦除干净。这将
清理用于存储bundle的缓存
依赖性解析和eclipse
扩展注册表数据。使用这个
选项将强制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).

(From: http://www.eclipsezone.com/eclipse/forums/t61566.html

其他eclipse命令行选项: http: //help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fmisc%2Fruntime-options.html

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天全站免登陆