Overwrite ant’s fail-task

Imagine, you’re running some unit-tests in your buildscript and there is a problem with one of the tests. Of course, you want to break the build. Ant has a special task for that, the fail-task that is activated due to a given property: https://ant.apache.org/manual/Tasks/fail.html Let’s say this property is produced by your junit-task and is […]