Is there a way to stop creating a mute eclipse for java using the apt compiler if an error occurs?
A bit of background:
I am trying to build my java project from the command line using C: \ eclipse \ eclipsec -nosplash -application org.eclipse.jdt.apt.core.aptBuild -data "../ .." -build JavaMain
However, I recently noticed that this compiles my binary even if there are errors in the project, such as missing files or missing variables.
I tried adding -Declipse.exitOnError or removing -nosplash, but it still continues like a runaway freight train. I was looking for eclipse apt documentation, but all I can find is two pages in their reference index, which shows me the same command that I already use. I checked some other stack overflow problems, such as
Build a Java Eclipse project from the command line
that recommend the same command.
I know that eclipse can be built using ant, but I was hoping my project was simple with a single command. I know that something is missing for me, the compiler should report errors.
Also, please do not hesitate to correct me for everything that I forgot to add to this issue, this is my first post, so I have to skip something.