"sachit aggarwal" <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to