Q:What is the difference between refresh (select project, right click and refresh) and clean in Eclipse?
A:Refresh rereads the sourcefiles to see if there are changes made outside Eclipse.
Clean removes all compiled classes and forces recompilation of the entire project (or workspace depending on what you select to be cleaned).
更新是重读源文件,目的是看看项目是否在外部发生了改变,即如果有改变,将改变内容重新读入;
清理是移除所有已编译类并强制重新编译整个工程;
简单的说,更新是加入改变的新内容(如果有的话);清理则是重新编译(不加入新内容,在原来基础上编译)