Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 12975 invoked from network); 3 May 2006 19:39:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 May 2006 19:39:50 -0000 Received: (qmail 5166 invoked by uid 500); 3 May 2006 19:39:45 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 5127 invoked by uid 500); 3 May 2006 19:39: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 5109 invoked by uid 99); 3 May 2006 19:39:45 -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:39:45 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [12.106.87.70] (HELO irvbhxw03.quest.com) (12.106.87.70) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 May 2006 12:39:43 -0700 Received: from tormbxw01.prod.quest.corp ([10.4.100.91]) by irvbhxw03.quest.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 3 May 2006 12:39:20 -0700 Received: from tor106065.prod.quest.corp ([10.4.114.58]) by tormbxw01.prod.quest.corp with Microsoft SMTPSVC(5.0.2195.6713); Wed, 3 May 2006 15:39:19 -0400 From: Robert Clark Organization: Quest Software Inc. To: "Trent Ohannessian" Subject: Re: Am I completely misunderstanding the fail/unless task? Date: Wed, 3 May 2006 15:39:17 -0400 User-Agent: KMail/1.9.1 References: <4fcb86650605031231t57e9037fo7beef4f2c665cfe0@mail.gmail.com> In-Reply-To: <4fcb86650605031231t57e9037fo7beef4f2c665cfe0@mail.gmail.com> X-Face: @wf=R>`Gp1sqW"$*(jmq~x\Y:on!638~obu4W34T^iIADeQK]WA}}rUgp4Ih&a3^:<~P&$|P|2"Ad=8J_<=?utf-8?q?s5=23x5v7QZ=24Pn67lUsJSsDyIF=7C=23=3A9Cy=23D=0A=09i=3F=7E=5D?= =?utf-8?q?=7BX=3Ama68Crle=7BV=2EREz?="twUaW>&^Y.qHk1\)8i[n/[#/~oi$,g(:/)gt6" =?utf-8?q?Fm=5EGW!BBsD=0A=09+RP?="I3Xb~I6OH#&2^==29GQ~5UAfE._cNv.V4{qdw2uBp Cc: user@ant.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605031539.18198.robert.clark@quest.com> X-OriginalArrivalTime: 03 May 2006 19:39:19.0104 (UTC) FILETIME=[45052C00:01C66EE9] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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=[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 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org