diff --git a/docs/manual/CoreTasks/java.html b/docs/manual/CoreTasks/java.html index 4b63fa7e7..28359051c 100644 --- a/docs/manual/CoreTasks/java.html +++ b/docs/manual/CoreTasks/java.html @@ -83,6 +83,13 @@ JVM. returncode other than 0. Default is "false"
Settings will be ignored if fork is disabled.
+ +resultproperty
to the name
+of a property and have it assigned to the result code (barring immutability,
+of course).
+When you set failonerror="true"
, the only possible value for resultproperty
is 0. Any non zero response is treated as an
+error and would mean the build exits.
+ Similarly, if failonerror="false"
and fork="false"
+, then <java>
must return 0 otherwise the build will exit, as the class was run by the build jvm.
<java classname="test.Main"> @@ -218,7 +235,7 @@ and with a maximum memory of 128MB. Any non zero return code breaks the build. JVM, as it takes different parameters for other JVMs, That JVM can be started from <exec> if required.
-Copyright © 2000-2002 Apache Software Foundation. All rights +
Copyright © 2000-2003 Apache Software Foundation. All rights Reserved.