Is there a way to enable treat “treat warnings as errors” (or something similar that has the same effect) from a central location in eclipse?
I have already found Project Properties -> Errors/Warnings where I can change the error level for each individual warning (with corresponding effect in the Problems View). However I’d like to keep warnings being shown as warnings but have them prevent a sucessfull compile.
Have your own ant script for compile and build and check this link (-Werror flag)
Javac: Treat warnings as errors