Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Project refresh and clean in eclipse [duplicate]

Tags:

java

eclipse

What's the difference between

"Eclipse/Project/Clean..."

and

"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?

like image 566
Danijel Avatar asked Mar 21 '26 20:03

Danijel


2 Answers

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

like image 156
dsgriffin Avatar answered Mar 24 '26 09:03

dsgriffin


Clean deleted the generated resources like compiled classes and makes sure that latest code base is recompiled again where as

Refresh syncs the eclipse project from the actual folder structure which makes sure that any changes done to files and/or folder structure is available to eclipse...

like image 36
Bharat Sinha Avatar answered Mar 24 '26 10:03

Bharat Sinha



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!