2.10.1.  
								Example
					
						The example asks for the tomcat home only if the environment variable TOMCAT_HOME
						is undefined.
					
					| build.xml | 
|  | 
| | ... |  | <target name="checkup"> |  |     <!-- verify TOMCAT_HOME enviroment variable --> |  |   <execute if="${env.TOMCAT_HOME}">  |  |     <property name="tomcat" value="${env.TOMCAT_HOME}"/> |  |   </execute> |  |    |  |   <execute unless="tomcat">     |  |     <input addproperty="tomcat"> |  |       No TOMCAT_HOME enviroment variable found. |  |        |  |       Enter TOMCAT_HOME: |  |     </input>         |  |   </execute> |  |  |  |   <fail unless="tomcat"> |  |     no TOMCAT_HOME defined |  |   </fail> |  |     <!-- --> |  | </target> |  | ... |  |