diff --git a/docs/manual/CoreTasks/conditions.html b/docs/manual/CoreTasks/conditions.html index 221a4d924..665f67e45 100644 --- a/docs/manual/CoreTasks/conditions.html +++ b/docs/manual/CoreTasks/conditions.html @@ -539,9 +539,10 @@ an explanation of scripts and dependencies.
The script supports script language inline, this script has access to the
-same beans as the <script> task, and to the
-self bean, which refers back to the condition itself. The
-value property of this bean sets the return value:
+same beans as the <script> task, and to the self bean,
+which refers back to the condition itself. If the script evaluates to a boolean result,
+this is the result of the condition's evaluation (since Ant 1.7.1).
+Alternatively, self.value can be used to set the evaluation result.
Example: