From user-return-66071-apmail-ant-user-archive=ant.apache.org@ant.apache.org Tue Oct 14 21:21:30 2008 Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 24674 invoked from network); 14 Oct 2008 21:21:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Oct 2008 21:21:30 -0000 Received: (qmail 466 invoked by uid 500); 14 Oct 2008 21:21:30 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 99423 invoked by uid 500); 14 Oct 2008 21:21:28 -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 99412 invoked by uid 99); 14 Oct 2008 21:21:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Oct 2008 14:21:28 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mohitanchlia@gmail.com designates 64.233.182.184 as permitted sender) Received: from [64.233.182.184] (HELO nf-out-0910.google.com) (64.233.182.184) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Oct 2008 21:20:22 +0000 Received: by nf-out-0910.google.com with SMTP id g13so1115070nfb.10 for ; Tue, 14 Oct 2008 14:20:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=I/o+QJqPX65GARicrFPgfIv8+FDVzKgrxd73iJ/aSnc=; b=eZkfRe53uFhQ4CAIbd02AN+sDnpICyun0IeghEp6cDQEcFqNxCExx6U76+pA+qsVDO blftuQR2n6eSNoh4a2CpR3vPfmKVOlmuvF+YkBN7tnRkDeSYEShiaJXgH/8FgZ52frRc f2czASTOV7sMFX+TPR85gT8rV7MiWcI4/fF8I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=GCQn5qdlh2ZC70lTI/3QmD9Waye6X0/0EeA58T8ECGnauAfUNclvuFxlw57w4O0eql wjWy3SF3hCGkGbiv88nK/FssvRYYfz8id2LT27a3OCL/S7pPCX8qTgokaZ6QTvT7VhY5 GgTDYxOjX8qt/6l+mHVuMHV6GYW9AYGHztruQ= Received: by 10.210.58.13 with SMTP id g13mr72421eba.60.1224019258380; Tue, 14 Oct 2008 14:20:58 -0700 (PDT) Received: by 10.210.58.5 with HTTP; Tue, 14 Oct 2008 14:20:58 -0700 (PDT) Message-ID: <2dfefcd20810141420y76d4fe89o4c8cce72f4495411@mail.gmail.com> Date: Tue, 14 Oct 2008 14:20:58 -0700 From: "Mohit Anchlia" To: "Ant Users List" Subject: Re: If else In-Reply-To: <345520A34347BA49B798F70B218ACD13055B127E93@MERCMBX14.na.sas.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <2dfefcd20810141333o36c3c81cy65ae7ec066f9c2ea@mail.gmail.com> <345520A34347BA49B798F70B218ACD13055B127E93@MERCMBX14.na.sas.com> X-Virus-Checked: Checked by ClamAV on apache.org that works. thanks But I don't understand what I was doing wrong. On Tue, Oct 14, 2008 at 1:44 PM, Alec Fernandez wrote: > try the condition > >>> -----Original Message----- >>> From: Mohit Anchlia [mailto:mohitanchlia@gmail.com] >>> Sent: Tuesday, October 14, 2008 10:33 PM >>> To: Ant Users List >>> Subject: If else >>> >>> I am struggling with a very simple question. How do I test if a >>> variable is defined or not? >>> >>> I tried: >>> >>> >>> >>> >>> >>> and >>> >>> >>> >>> >>> >>> and >>> >>> >>> >>> >> when="greater" length="0" /> >>> >>> >>> >>> Nothing seem to work. jboss.wily.jvmargs may or may not be there in >>> property file >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org >>> For additional commands, e-mail: user-help@ant.apache.org >>> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org