My Eclipse is configured ‘Project‘->’Build Automatically‘. There are large number of Java files in my project. Once one java file is modified, all java files are compiled under the project. It spends much time really.
My question is how to configure Eclipse as ‘partly compile‘ which merely compiles related java files. Does it make sense?
Thanks!
Unless you have some really strange dependencies, it won’t compile everything. Eclipse keeps track of the classes each class depends on. If a file changes, it recompiles the classes in it, and any classes that depend on them, and so on. So, often, saving one file will cause compilation of just one class.