Return-Path: Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 63949 invoked by uid 500); 30 Jul 2003 20:49:14 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 63925 invoked from network); 30 Jul 2003 20:49:14 -0000 Received: from law11-oe64.law11.hotmail.com (HELO hotmail.com) (64.4.16.199) by daedalus.apache.org with SMTP; 30 Jul 2003 20:49:14 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 30 Jul 2003 13:49:17 -0700 Received: from 208.139.169.224 by law11-oe64.law11.hotmail.com with DAV; Wed, 30 Jul 2003 20:49:17 +0000 X-Originating-IP: [208.139.169.224] X-Originating-Email: [mathews_julien@hotmail.com] From: "Matt" To: "'Ant Users List'" Subject: RE: Conditional Statement Date: Wed, 30 Jul 2003 13:49:46 -0700 Message-ID: <8765557836794E4EADF7F31290F4C39F0117D9D1@ns.suz.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 Importance: Normal In-Reply-To: <20030730204623.39943.qmail@web20415.mail.yahoo.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4920.2300 X-OriginalArrivalTime: 30 Jul 2003 20:49:17.0288 (UTC) FILETIME=[0AF13680:01C356DC] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Property attribute is required for task but I don't need to set any property. All the examples are setting some kind of property only. -----Original Message----- From: Matt Benson [mailto:gudnabrsam@yahoo.com] Sent: Wednesday, July 30, 2003 1:46 PM To: Ant Users List Subject: RE: Conditional Statement You need to reread the documentation AKA RTFM. regards, another Matt --- Matt wrote: > It seems is supposed to be used for > properties only. And > what's antelope. I tried to do this simple task and > it doesn't work. > > > > > > > > > > > > depends="init"> > > > > > > > > > > Matt > > -----Original Message----- > From: Antoine Levy-Lambert > [mailto:antoine@antbuild.com] > Sent: Wednesday, July 30, 2003 1:32 PM > To: Ant Users List > Subject: Re: Conditional Statement > > see the manual. > Otherwise have a look at in antelope or > ant-contrib. > Cheers, > Antoine > ----- Original Message ----- > From: "Matt" > To: "'Ant Users List'" > Sent: Wednesday, July 30, 2003 10:29 PM > Subject: Conditional Statement > > > > Hi > > > > How do we add "if-else" statements in Ant. I need > to compare two > > variables and execute a task if they are not equal > and abort with an > > error message if they are equal. > > > > Matt > > > > > > > > > --------------------------------------------------------------------- > > 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 > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com --------------------------------------------------------------------- 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