Community
Participate
Working Groups
Now that Ant has been moved to 1.5.1 we need to facilitate -inputhandler feature. -inputhandler <class> the class which will handle input requests
Implemented in InternalAntRunner, AntInputHandler. Please verify.
Test added as well OptionTests#testInputHandler
Note that by default Eclipse provides the AntInputHandler to respond to the <input> task.
*** Bug 21667 has been marked as a duplicate of this bug. ***
Verified.
But, my ant build file has a <java> tag, when executing java code that inputs for stdin I can write in the Eclipse Console but the java program does not capture my keypresses.
Your issue is not the same: see bug 21748 especially: From a respected source for Ant (Java development with Ant, Hatcher and Loughran, pg 132): "You cannot handle prompts for input at the console. If the application is waiting for user input, Ant just hangs".