ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raja Nagendra Kumar <>
Subject How fail main ant (parent bulild.xml) to fail when custom task fails
Date Thu, 26 Nov 2009 14:05:21 GMT


We have a main build.xml with calls to other module ant files though ant
task. These module level build file uses no of custom tasks. However when
the custom task fails, we wish to make sure the parent build.xml shows build
failed instead of build success full. Though the custom task on fail shows
the error stack trace.
Is there a way to propagate build failure of the child to parent though
custom tasks.

Raja Nagendra Kumar,

View this message in context:
Sent from the Ant - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message