ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Return code for ANT
Date Mon, 21 May 2001 05:49:15 GMT
Diane Holt <> wrote:

> 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).


View raw message