Posted By

muscailie on 10/19/10


Tagged

ant


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

tspitzr


ant prompt for user input


 / Published in: AutoIt
 

URL: http://ptrthomas.wordpress.com/2006/03/25/how-to-start-and-stop-tomcat-from-ant/

  1. <input message="Are you sure?" validargs="y,n" addproperty="input"/>
  2. <condition property="abort">
  3. <equals arg1="n" arg2="${input}"/>
  4. </condition>
  5. <fail if="abort">User aborted.</fail>

Report this snippet  

You need to login to post a comment.