Diane Holt <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
>
>> When calling ant from the command line or a script, what value does
>> it return for a build failure? for a successful build?
>
> 0 on success; 1 on failure.
Unless you call the ant.bat script on Windows.
If you invoke Ant via java directly or use the starter scripts for
Unix (or the one written in Perl), you can get to the return codes,
but the Windows batch file will swallow them (there already is a bug
report and I don't know how to fix it).
Stefan