Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 14562 invoked from network); 3 May 2006 19:43:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 May 2006 19:43:25 -0000 Received: (qmail 13157 invoked by uid 500); 3 May 2006 19:43:20 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 13109 invoked by uid 500); 3 May 2006 19:43:20 -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 13094 invoked by uid 99); 3 May 2006 19:43:19 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 May 2006 12:43:19 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of tohann@gmail.com designates 66.249.92.170 as permitted sender) Received: from [66.249.92.170] (HELO ug-out-1314.google.com) (66.249.92.170) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 May 2006 12:43:19 -0700 Received: by ug-out-1314.google.com with SMTP id j3so115036ugf for ; Wed, 03 May 2006 12:42:57 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=VSmGXiRG8ftMWtHYGNjEnhbJw7TVlIFLf3KH6pM6d0SigrdAOLt3eQXtIaIMvB/X6hLBZGrHOMm2VfJJwF0erpDPgC+x0C5K7axQmpZc5nq6IWssXefwaw02915cRyyEZD0yc2fjSL5bV1ZdW0n8xbm28P5d+ETaQLezskxVdak= Received: by 10.78.56.19 with SMTP id e19mr4593hua; Wed, 03 May 2006 12:42:57 -0700 (PDT) Received: by 10.78.37.11 with HTTP; Wed, 3 May 2006 12:42:57 -0700 (PDT) Message-ID: <4fcb86650605031242l6afde107o4038a8b58a4dc303@mail.gmail.com> Date: Wed, 3 May 2006 14:42:57 -0500 From: "Trent Ohannessian" To: user@ant.apache.org Subject: Re: Am I completely misunderstanding the fail/unless task? In-Reply-To: <200605031539.18198.robert.clark@quest.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_30303_31721722.1146685377813" References: <4fcb86650605031231t57e9037fo7beef4f2c665cfe0@mail.gmail.com> <200605031539.18198.robert.clark@quest.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_30303_31721722.1146685377813 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Perfect. Thanks! On 5/3/06, Robert Clark wrote: > > On Wednesday May 3, 2006 15:31, "Trent Ohannessian" > wrote: > > > > > > > > BUILD FAILED > > D:\Open Source Projects\Canoo Web Test\my_tests\webtest.xml:3: > > Missing environment parameter. > > > > Here is env: dev > > > > Usage: > > webtest -buildfile webtest.xml -Denv=3D[dev | qa | > > stg | prod] > > > > Total time: 0 seconds > > > > How can this be failing when when env is printed out in the failure > > message? > > The "unless" attribute of the task takes the name of a > property, not its value. In this case you need to re-write the test > as: > > > .... > > > - Rob > > -- Learn from the mistakes of others. You can't live long enough to make them all yourself. ------=_Part_30303_31721722.1146685377813--