且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Eclipse / Project / Clean ...和Eclipse / Project / Refresh(F5)有什么区别?

更新时间:2023-12-04 14:54:20

如提到的此处

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).