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">
...

Primoz.



                                                                                       
                                                        
                    "Justo                                                             
                                                        
                    Casablanca"           To:     "Ant Users List" 
<[EMAIL PROTECTED]>                                               
                    <jcasablanca@c        cc:                                          
                                                        
                    fl.rr.com>            Subject:     Condition Task Question         
                                                        
                                                                                       
                                                        
                    18.10.2002                                                         
                                                        
                    06:14                                                              
                                                        
                    Please respond                                                     
                                                        
                    to "Ant Users                                                      
                                                        
                    List"                                                              
                                                        
                                                                                       
                                                        
                                                                                       
                                                        




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:   <mailto:ant-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@;jakarta.apache.org>

Reply via email to