Eclipse / Project / Clean ...和Eclipse / Project / Refresh(F5)有什么区别? [英] What's the difference between `Eclipse/Project/Clean...` and `Eclipse/Project/Refresh (F5)`?

查看:119
本文介绍了Eclipse / Project / Clean ...和Eclipse / Project / Refresh(F5)有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

"Eclipse/Project/Clean..."

"Eclipse/Project/Refresh (F5)"

我经常必须重建包含很少相互依赖项目的工作区,我不确定哪种方法是全新的开始?

I often have to "rebuild" my workspace that contains few inter-dependent projects, and I am unsure which is the best way to make a clean start?

推荐答案

如提到的此处

Refresh 分析源文件以检查是否从Eclipse外部进行了任何更改,如果是,则编译已更改的文件。

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

Clean 会删除所有编译类并强制重新编译整个项目(或工作区)。

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

这篇关于Eclipse / Project / Clean ...和Eclipse / Project / Refresh(F5)有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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