How do I stop Eclipse from refreshing some dir?

前端 未结 10 1297
日久生厌
日久生厌 2020-12-30 03:38

Every time I start Eclipse it tries to refresh an entire project, which translates to more than 10 minutes of wait time, not to mention the ridiculous amount of memory it wo

10条回答
  •  暖寄归人
    2020-12-30 04:19

    I ran in to this same problem. When an eclipse project refreshes it seems to want to touch every file regardless of settings. The code base I'm working on has ~70K files, and took nearly 2 minutes to refresh. I eventually redefined the eclipse project to be a much smaller subset of that (~10K files) that has a ~ 1 second refresh. Not ideal, but the long refresh times are intolerable.

    FYI the "Derived" check box and "Exclude from build..." options DON'T prevent a folder from being refreshed.

    Note, the computer I'm using is 4-5 years old (Pentium IV processor, 7200 rpm hard drive). I bet one of these newer fast solid state hard drives would dramatically improve refresh times!

提交回复
热议问题