ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nissea <nils....@ngai.se>
Subject Echo message when build fail
Date Mon, 08 Oct 2007 15:25:43 GMT

Hi 

I would like to echo out a message when i command fails, my code is as
follows: 
<exec executable="cmd" failonerror="true" > 
   <arg value="xxx"/> 
</exec> 

When this command fails the build fails, but I would like to echo out a
message to the user about what happend. How do I do this? thank you 

-- 
View this message in context: http://www.nabble.com/Echo-message-when-build-fail-tf4588764.html#a13098422
Sent from the Ant - Dev mailing list archive at Nabble.com.


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


Mime
View raw message