Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 35240 invoked from network); 17 Jul 2007 18:04:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Jul 2007 18:04:20 -0000 Received: (qmail 37133 invoked by uid 500); 17 Jul 2007 18:04:19 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 37098 invoked by uid 500); 17 Jul 2007 18:04:19 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 37082 invoked by uid 500); 17 Jul 2007 18:04:19 -0000 Received: (qmail 37079 invoked by uid 99); 17 Jul 2007 18:04:19 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jul 2007 11:04:19 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jul 2007 11:04:16 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 039DE1A981A; Tue, 17 Jul 2007 11:03:56 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r557002 - /ant/core/branches/ANT_17_BRANCH/docs/manual/CoreTasks/conditions.html Date: Tue, 17 Jul 2007 18:03:55 -0000 To: ant-cvs@apache.org From: mbenson@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070717180356.039DE1A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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 @@
Description

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: --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org