From 877082263186aefcb06d8cf6b1fac4b2fa45a327 Mon Sep 17 00:00:00 2001 From: Peter Reilly Date: Tue, 5 Jun 2007 13:36:14 +0000 Subject: [PATCH] document error code returned git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@544485 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/running.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/manual/running.html b/docs/manual/running.html index 90c24afaf..cc7069103 100644 --- a/docs/manual/running.html +++ b/docs/manual/running.html @@ -474,7 +474,9 @@ Ant releases breaking your build file.

return code

the ant start up scripts (in their Windows and Unix version) return the return code of the java program. So a successful build returns 0, -failed builds return other values. +failed builds return other values. For the most part error code of 1 +is used for failed builds, however if the cause of the error is an external process, the +error code of that process will be propagated.

Cygwin Users