ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yves Martin <yves.mar...@elca.ch>
Subject Re: Ant result
Date Tue, 01 Mar 2005 14:45:35 GMT
"sachit aggarwal" <sachit_aggarwal@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


Mime
View raw message