Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 8278 invoked from network); 16 Aug 2005 19:28:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Aug 2005 19:28:00 -0000 Received: (qmail 54551 invoked by uid 500); 16 Aug 2005 19:27:54 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 54507 invoked by uid 500); 16 Aug 2005 19:27:53 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 54494 invoked by uid 99); 16 Aug 2005 19:27:53 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Aug 2005 12:27:53 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_50_60,HTML_MESSAGE,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of pmunsey@cisco.com designates 171.71.176.71 as permitted sender) Received: from [171.71.176.71] (HELO sj-iport-2.cisco.com) (171.71.176.71) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Aug 2005 12:28:12 -0700 Received: from sj-core-2.cisco.com (171.71.177.254) by sj-iport-2.cisco.com with ESMTP; 16 Aug 2005 12:27:52 -0700 Received: from pmunseywxp (sjc-vpn6-305.cisco.com [10.21.121.49]) by sj-core-2.cisco.com (8.12.10/8.12.6) with ESMTP id j7GJRjQM005269 for ; Tue, 16 Aug 2005 12:27:45 -0700 (PDT) Message-Id: <200508161927.j7GJRjQM005269@sj-core-2.cisco.com> Reply-To: From: "Paul Munsey \(pmunsey\)" To: "'Ant Users List'" Subject: Conditional tasks Date: Tue, 16 Aug 2005 12:27:49 -0700 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0048_01C5A25D.EAB22990" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcWimJaFZGpKZ3JAThisfF/7bBZkUg== X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_NextPart_000_0048_01C5A25D.EAB22990 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I'm trying to figure out how to call a task, conditionally. From what I see I can set properties with a condition, but how can I traslate that to a task. For example, I only want to send mail to people if errors were found in the build log file. I'll create my own code for parsing the build log, but depending on the results I may or may not want to send email. Paul Munsey pmunsey@cisco.com ------=_NextPart_000_0048_01C5A25D.EAB22990--