ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: Condition Task Question
Date Fri, 18 Oct 2002 05:10:24 GMT

Actually every ant <target> can have "if" or "unless" attribute. That means
that target will be executed only if property is (or is not) set.

You can use it like this:

<target .... if="blabla">


                    Casablanca"           To:     "Ant Users List" <>
                    <jcasablanca@c        cc:                                         
          >            Subject:     Condition Task Question        
                    Please respond                                                       
                    to "Ant Users                                                        

Hi all, I really like having a Condition task and all, but all it seems to
allow you is
the setting of a property to "true" if the condition is met. How do you
actually _do_
something based on the true/false value of the property ? Thx in advance

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message