ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Primoz.Pris...@marand.si
Subject Re: Checking existence of property
Date Wed, 23 Oct 2002 09:46:07 GMT

Use Fail task with if/unless attribute.

Prmoz Prislan.



                                                                                         
                                                    
                    "Leahy,                                                              
                                                    
                    Kevin"               To:     "Ant (E-mail)" <ant-user@jakarta.apache.org>
                                                
                    <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>


Mime
View raw message