What's the difference between `Eclipse/Project/Clean…` and `Eclipse/Project/Refresh (F5)`?

后端 未结 3 773
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-08 04:56

What\'s the difference between

\"Eclipse/Project/Clean...\"

and

\"Eclipse/Project/Refresh (F5)\"

I often ha

3条回答
  •  你的背包
    2021-02-08 05:23

    As mentioned here

    Refresh analyses the source-files to check if any changes were made from outside Eclipse, and if so, compiles files that were changed.

    Clean on the other hand removes all compiled classes and forces recompilation of the whole project (or workspace).

提交回复
热议问题