ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r557002 - /ant/core/branches/ANT_17_BRANCH/docs/manual/CoreTasks/conditions.html
Date Tue, 17 Jul 2007 18:03:55 GMT
Author: mbenson
Date: Tue Jul 17 11:03:55 2007
New Revision: 557002

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

Modified:
    ant/core/branches/ANT_17_BRANCH/docs/manual/CoreTasks/conditions.html

Modified: ant/core/branches/ANT_17_BRANCH/docs/manual/CoreTasks/conditions.html
URL: http://svn.apache.org/viewvc/ant/core/branches/ANT_17_BRANCH/docs/manual/CoreTasks/conditions.html?view=diff&rev=557002&r1=557001&r2=557002
==============================================================================
--- ant/core/branches/ANT_17_BRANCH/docs/manual/CoreTasks/conditions.html (original)
+++ ant/core/branches/ANT_17_BRANCH/docs/manual/CoreTasks/conditions.html Tue Jul 17 11:03:55
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