It'd be nice if there were an Ant listener/logger that listened for build errors + warnings, and failed the build if it found any. Right now builds can take anywhere from 30 seconds to several minutes, and developers often don't watch the console for that whole time. Instead, they look at the result - BUILD SUCCEEDED or BUILD FAILED is all that's interesting. By hooking in a logger that fails the build if it sees things like Javadoc warnings or failed unit tests, we can be much stricter about code quality.
Note that implementing this as a mandatory part of the build might not be a great idea just yet, since there are still some lingering Javadoc errors related to code generation.
Logged In: YES
user_id=137219
v1.3 has a new SandLogger which fails the build if it sees any
warning or error messages. The catch is that the only way to
invoke it is with a command-line switch.
Leaving this open for the time being in hopes that we can find a
workaround.
Logged In: YES
user_id=137219
v1.3 has a new SandLogger which fails the build if it sees any
warning or error messages. The catch is that the only way to
invoke it is with a command-line switch.
Leaving this open for the time being in hopes that we can find a
workaround.