You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by sachit aggarwal <sa...@hotmail.com> on 2005/03/01 13:04:01 UTC
Ant result
Hi
I am trying to call ant from my application(using exec in java),now i
want to know programatically whether build was succesful or not.Can anyone
help me out with this.
Thanks and Regards
Sachit Aggarwal
_________________________________________________________________
News, views and gossip. http://www.msn.co.in/Cinema/ Get it all at MSN
Cinema!
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
Re: Ant result
Posted by Yves Martin <yv...@elca.ch>.
"sachit aggarwal" <sa...@hotmail.com> writes:
> Hi
> I am trying to call ant from my application(using exec in java),now i want
> to know programatically whether build was succesful or not.Can anyone help me
> out with this.
The process exit code is different:
0 if successful
1 if BuildException
n if ExitStatusException was caught
Details are available in org.apache.tools.ant.Main.startAnt
Regards
--
Yves Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org