Reputation: 683
I am trying to build the project in Eclipse but it cleans the project first and then bulids. I want to complile files those are modified. how can i achieve the same in Eclipse
Upvotes: 4
Views: 2739
Reputation: 17595
Eclipse by default (re)compiles only changed files and those that depend on them, just make sure you have checked Build automatically
under the Project
menu so that the compilation happens after saving the file edited.
EDIT
Check the settings under
Preferences > Java > Compiler
and
Preferences > Java > Compiler > Building
Try to restore the defaults in each one.
Upvotes: 5