Use Fail task with if/unless attribute.

Prmoz Prislan.



                                                                                       
                                                       
                    "Leahy,                                                            
                                                       
                    Kevin"               To:     "Ant (E-mail)" 
<[EMAIL PROTECTED]>                                                 
                    <Kevin.Leahy@        cc:                                           
                                                       
                    drkw.com>            Subject:     Checking existence of property   
                                                       
                                                                                       
                                                       
                    23.10.2002                                                         
                                                       
                    11:43                                                              
                                                       
                    Please                                                             
                                                       
                    respond to                                                         
                                                       
                    "Ant Users                                                         
                                                       
                    List"                                                              
                                                       
                                                                                       
                                                       
                                                                                       
                                                       




Hi
I have defined a variable via a properties file.
If the the variable was not set in the properties file I want the build to
fail.
Does anyone know how to do this?
Thanks
Kevin


----------------------------------------------------------------------
If you have received this e-mail in error or wish to read our e-mail
disclaimer statement and monitoring policy, please refer to
http://www.drkw.com/disc/email/ or contact the sender.
----------------------------------------------------------------------


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@;jakarta.apache.org>






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