ant-user mailing list archives

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

Hi,

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.

Regards,
Raja Nagendra Kumar,
C.T.O
www.tejasoft.com

-- 
View this message in context: http://old.nabble.com/How-fail-main-ant-%28parent-bulild.xml%29-to-fail-when-custom-task-fails-tp26529903p26529903.html
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message