Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 85411 invoked from network); 11 Feb 2011 15:57:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Feb 2011 15:57:48 -0000 Received: (qmail 41007 invoked by uid 500); 11 Feb 2011 15:57:47 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 40602 invoked by uid 500); 11 Feb 2011 15:57:45 -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 40594 invoked by uid 99); 11 Feb 2011 15:57:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Feb 2011 15:57:44 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gudnabrsam@gmail.com designates 74.125.82.47 as permitted sender) Received: from [74.125.82.47] (HELO mail-ww0-f47.google.com) (74.125.82.47) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Feb 2011 15:57:38 +0000 Received: by wwb39 with SMTP id 39so2879701wwb.16 for ; Fri, 11 Feb 2011 07:57:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:reply-to:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=6lV/oECOWvaYfeLMuEr0tAd5+H1T6tkKK8UTb2OgYUo=; b=WNmQkL+0AdGKAPFNMRggziDj877nqwi5RJq1KEG/Um6dPtuFz8D0O360J+faXScCSA o8eTf4sXxxEpwB5NDIDADbmizLRgE/GljAqOoSgIwjJjNbIvsOfsGoPfZqTjVIttIS3w sFyh3nCoRl82xrXZA5eKAc89FUWk8rCxECIwA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:content-type; b=aDWuZAgEfxQKsgUGnpqfkTLjreoiljGqU2O0aQ9dQpZ77tr05KIBajBKrrTf4ue3Na Kq5dGf1nXHL0vjv6lPt9M/BiXcx3O1/uaWbBThd5j0PiMBR0xS+NEhQd7J47zBjaY7Wp DTeZRgJcsd8RkeWaSrnjsVXHnd1prbxdJKCTg= MIME-Version: 1.0 Received: by 10.216.187.10 with SMTP id x10mr576724wem.97.1297439837100; Fri, 11 Feb 2011 07:57:17 -0800 (PST) Received: by 10.216.157.8 with HTTP; Fri, 11 Feb 2011 07:57:17 -0800 (PST) Reply-To: gudnabrsam@gmail.com In-Reply-To: <1297439386550-3381432.post@n5.nabble.com> References: <1297438494268-3381392.post@n5.nabble.com> <1297439386550-3381432.post@n5.nabble.com> Date: Fri, 11 Feb 2011 09:57:17 -0600 Message-ID: Subject: Re: Alternative to if else task. From: Matt Benson To: Ant Users List Content-Type: multipart/alternative; boundary=001485f1e2d69b9b49049c03c0dc X-Virus-Checked: Checked by ClamAV on apache.org --001485f1e2d69b9b49049c03c0dc Content-Type: text/plain; charset=ISO-8859-1 On Fri, Feb 11, 2011 at 9:49 AM, ritchie wrote: > > Matt, > The target option would be good if the other target does not fail, but in > my build file i have target which executes perforce command and i capture > the result of the exec task in resultproperty. If the value of result > property is ==0 then i execute another target else execute a different > target. > > > resultproperty="p4result"> > > > > > > > > > > > > So: -- > View this message in context: > http://ant.1045680.n5.nabble.com/Alternate-for-if-else-task-tp3381392p3381432.html > Sent from the Ant - Users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > --001485f1e2d69b9b49049c03c0dc--