ant prompt for user input


/ Published in: AutoIt
Save to your folder(s)



Copy this code and paste it in your HTML
  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>

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.