How to clear cache of Eclipse Indigo

前端 未结 7 2257
旧时难觅i
旧时难觅i 2020-12-02 22:40

I would like to know what is the standard way to clear the cache of Eclipse Indigo?

相关标签:
7条回答
  • 2020-12-02 23:09

    I think you can find the answer you want in these two posts. They are mentioning Flash Builder, but essentially, the talk is about its Eclipse base.

    Clear improperly cached compile errors in FlexBuilder: http://blog.aherrman.com/2010/05/clear-improperly-cached-compile-errors.html

    How to fix Flash Builder broken workspace: http://va.lent.in/how-to-fix-flash-builder-broken-workspace/

    0 讨论(0)
  • 2020-12-02 23:11

    If you are asking about cache where eclipse stores your project and workspace information right click on your project(s) and choose refresh. Then go to project in the menu on top of the window and click "clean".

    This typically does what you need.

    If it does not try to remove project from the workspace (just press "delete" on the project and then say that you DO NOT want to remove the sources). Then open project again.

    If this does not work too, do the same with the workspace. If this still does not work, perform fresh checkout of your project from source control and create new workspace.

    Well, this should work.

    0 讨论(0)
  • 2020-12-02 23:15

    You can always create a new Eclipse workspace. The Eclipse.exe -clean option is not sufficient in some cases, for example, if the local history becomes a problem.

    Edit:

    Eclipse is mostly a collection of third party plugins. And each of those plugins can add some extra useful, useless or problematic information to the central Eclipse workspace meta-data folder.

    The problem is that not every plugin participates during the user-issued cleanup routine. Therefore, I'd say that it is a problem in the system design of Eclipse, that it allows plugins to misbehave like this.

    And therefore, I'd recommend to make yourself comfortable with the idea of using multiple workspaces and linking-in external project entities into each workspace. Because, this is the only workaround for the given system design, to handle faulty plugins that spam your workspace.

    0 讨论(0)
  • 2020-12-02 23:16

    Clear improperly cached compile errors. All Projects Locations in Eclipse
    workspace\.metadata\.plugins\org.eclipse.core.resources\.projects\<project>\

    0 讨论(0)
  • 2020-12-02 23:19

    Instructions

    1. Open Eclipse and navigate to the Window > Preferences.
    2. Scroll down the left-hand panel in the Preferences window and click the Remote Systems drop-down root menu. Select File Cache.
    3. Click the Clear Cached Files button in the File Cache window. Note that this will automatically close any open remote files on your computer.
    4. Press Apply and OK to save your changes and exit out of the Preferences window.
    0 讨论(0)
  • 2020-12-02 23:20

    you can use -clean parameter while starting eclipse like

    C:\eclipse\eclipse.exe -vm "C:\Program Files\Java\jdk1.6.0_24\bin" -clean

    0 讨论(0)
提交回复
热议问题