Return-Path: Mailing-List: contact user-help@ant.apache.org; run by ezmlm Delivered-To: mailing list user@ant.apache.org Received: (qmail 95623 invoked from network); 17 Feb 2003 20:39:44 -0000 Received: from unknown (HELO germane-software.com) (198.36.168.17) by daedalus.apache.org with SMTP; 17 Feb 2003 20:39:44 -0000 Received: (qmail 11257 invoked from network); 17 Feb 2003 20:39:10 -0000 Received: from unknown (HELO germane-software.com) (63.96.184.97) by 198.36.168.17 with SMTP; 17 Feb 2003 20:39:10 -0000 Message-ID: <3E514869.4080800@germane-software.com> Date: Mon, 17 Feb 2003 12:39:05 -0800 From: Dale Anson User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Users List Subject: Re: if then else with ant References: <25D4919915CCF742A88EE3366D6D913D01FAD232@mailserver1> X-Enigmail-Version: 0.65.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N You can also use the "if" task that comes with the Antelope distribution: Message1 Message2 Antelope home page is http://antelope.sourceforge.net. "if" task documentation is at http://antelope.sourceforge.net/manual/bk03ch05.html. Dale Anson danson@germane-software.com Pellier, Marc wrote: >How can I do > >if (a=2) > print("Message1"); >else > print("Message2"); > > >with ANT > >**************************************************************************** >Disclaimer: >This electronic transmission and any files attached to it are strictly >confidential and intended solely for the addressee. If you are not >the intended addressee, you must not disclose, copy or take any >action in reliance of this transmission. If you have received this >transmission in error, please notify the sender by return and delete >the transmission. Although the sender endeavors to maintain a >computer virus free network, the sender does not warrant that this >transmission is virus-free and will not be liable for any damages >resulting from any virus transmitted. >Thank You. >**************************************************************************** > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org >For additional commands, e-mail: user-help@ant.apache.org > > >