I wrote an ant (bnd) task, which should indicate a failure. The only way to indicate the failure I found is to throw a BuildException / ExitStatusException . However, I do not want a stack trace, because it just takes up unnecessary screen space. Any idea how to achieve this?
java ant
Peter Kriens
source share