Java: error checking without compilation

Some large Java projects can take a long time. For example, 20 minutes or more. Obviously, in a project of this size, you do not want the assembly to fail after 18 minutes for the missing semicolon.

Do utilities such as findbugs or other tools understand compilation errors for you without wasting time compiling?

Thanks in advance anyway

Steve

+4
source share
2 answers

I would use an IDE. This will show you errors in the lines as you type them in and even suggest automatic corrections for them. They also support incremental compilation, so you only need to recompile files created by the change.

AFAIK Most IDEs support ant and maven builds.

+8
source

Just use an IDE like Eclipse . This syntax compiles / checks on the fly during input. A production that takes 20 minutes in an oyur package is still unchanged (e.g. Ant or MAven build)

0
source

All Articles