Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to compile only modified java files in Eclipse

Tags:

java

eclipse

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

like image 508
Abhijit Avatar asked Oct 22 '25 12:10

Abhijit


1 Answers

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.

like image 151
A4L Avatar answered Oct 25 '25 01:10

A4L



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!