ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daffin, Miles \(IT\)" <Miles.Daf...@morganstanley.com>
Subject RE: conditional statements
Date Thu, 14 Feb 2008 22:06:48 GMT
When do you think the contrib stuff will be included in ant proper? It
would seem to make sense - its so well known and widely used.

Miles

> -----Original Message-----
> From: Scot P. Floess [mailto:floess@mindspring.com] 
> Sent: Thursday 14 February 2008 19:52
> To: Ant Users List
> Subject: Re: conditional statements
> 
> If you want true if/then/else, I'd recommend looking at ant-contrib
> (http://ant-contrib.sourceforge.net/) - there are some tasks 
> there...  
> One of which is if/then/else as well as switch/case
> 
> If you want to use stock Ant, you can get creative with targets.  
> However, based on your posting I surmise you really want if-then-else
> 
> jonese wrote:
> > How would i do something like
> >
> > if x = true{
> >  stuff
> > }else{
> >  other stuff
> > }
> >
> > in ant? basically i want to see if a property is true and 
> if it is do 
> > x instructions, if it's false do y.
> >
> > jonese
> >
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For 
> additional 
> > commands, e-mail: user-help@ant.apache.org
> >
> >
> >   
> 
> --
> Scot P. Floess
> 27 Lake Royale
> Louisburg, NC  27549
> 
> 252-478-8087 (Home)
> 919-754-4592 (Work)
> 
> Chief Architect JPlate   http://sourceforge.net/projects/jplate
> Chief Architect JavaPIM  http://sourceforge.net/projects/javapim
> 
> Architect Keros          http://sourceforge.net/projects/keros
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For 
> additional commands, e-mail: user-help@ant.apache.org
> 
>
--------------------------------------------------------

NOTICE: If received in error, please destroy and notify sender. Sender does not intend to
waive confidentiality or privilege. Use of this email is prohibited when received in error.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message