ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r557001 - /ant/core/trunk/docs/manual/CoreTasks/conditions.html
Date Tue, 17 Jul 2007 18:02:21 GMT
Author: mbenson
Date: Tue Jul 17 11:02:20 2007
New Revision: 557001

URL: http://svn.apache.org/viewvc?view=rev&rev=557001
Log:
document scriptcondition return value

Modified:
    ant/core/trunk/docs/manual/CoreTasks/conditions.html

Modified: ant/core/trunk/docs/manual/CoreTasks/conditions.html
URL: http://svn.apache.org/viewvc/ant/core/trunk/docs/manual/CoreTasks/conditions.html?view=diff&rev=557001&r1=557000&r2=557001
==============================================================================
--- ant/core/trunk/docs/manual/CoreTasks/conditions.html (original)
+++ ant/core/trunk/docs/manual/CoreTasks/conditions.html Tue Jul 17 11:02:20 2007
@@ -539,9 +539,10 @@
 <h5>Description</h5>
 <p>
 The script supports script language inline, this script has access to the
-same beans as the <code>&lt;script&gt;</code> task, and to the <code>
-self</code> bean, which refers back to the condition itself. The
-<code>value</code> property of this bean sets the return value:
+same beans as the <code>&lt;script&gt;</code> task, and to the <code>self</code>
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 (<em>since Ant 1.7.1</em>).
+Alternatively, <code>self.value</code> can be used to set the evaluation result.
 </p>
 <p>
 Example:



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


Mime
View raw message