title: How can I make an ant prompt use the default value if not entered within a given time?
body: <p>Many ant scripts I write use a default value, and these default values are almost exclusive. I.e. only occasionally will I want to run it without the default values.</p>
  
  <p>A lot of times, these scripts take enough time that it makes sense to go do something else while they run, like getting coffee or using the Little Developer's Room. Of course, if there's a prompt on it, and you forgot it, well, you're SOL.</p>
  
  <p>Is there any way I can put a timeout on the prompt so if it isn't entered in, oh let's say 30 seconds, that it just accepts the default value so that when I get back to my workstation I have my war/jar/whatever ready to go? Something like</p>
  
  <pre><code>&lt;input addproperty="branch.tag" 
         defaultvalue="dev" 
         timeout="30000"&gt;
      Which branch would you like to build?
  &lt;/input&gt;
  </code></pre>
  
  <p>Now obviously this timeout feature doesn't exist, but you get the idea of what I'm trying to accomplish.</p>