It's been that way for years. I first used Ant in 2002, when Ant 1.5
just came out, and the very same AntContrib tasks such as <if> and
<switch> were there. Six years later, Ant is at version 1.7, and there
is still no <if> or <switch> task in Ant.

On Thu, Feb 14, 2008 at 5:06 PM, Daffin, Miles (IT)
<[EMAIL PROTECTED]> wrote:
> 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:[EMAIL PROTECTED]
>  > 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: [EMAIL PROTECTED] For
>  > additional
>  > > commands, e-mail: [EMAIL PROTECTED]
>  > >
>  > >
>  > >
>  >
>  > --
>  > 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: [EMAIL PROTECTED] For
>  > additional commands, e-mail: [EMAIL PROTECTED]
>  >
>  >
>  --------------------------------------------------------
>
>  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: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
--
David Weintraub
[EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to