ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: cvs commit: ant/docs/manual/CoreTasks fail.html
Date Fri, 18 Jun 2004 06:05:24 GMT
On 17 Jun 2004, <mbenson@apache.org> wrote:

>   +                if (exitCode > 0) {
>   +                    throw ese;
>   +                }

should be != instead of >.  There are OSes whith negative exit code.

And there is at least one OS - OpenVMS - where 0 means no success, but
Java returns 0 for success on it as well, breaking the contract for
DCL scripts.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message