Bug 25134

Summary: Implement support for the 1.5.1 feature: -inputhandler
Product: [Eclipse Project] Platform Reporter: Darin Swanson <Darin_Swanson>
Component: AntAssignee: Jared Burns <jared_burns>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P2 CC: danrubel
Version: 2.0Keywords: core
Target Milestone: 2.1 M3   
Hardware: PC   
OS: other   
Whiteboard:

Description Darin Swanson CLA 2002-10-21 13:57:38 EDT
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
Comment 1 Darin Swanson CLA 2002-10-28 15:11:39 EST
Implemented in InternalAntRunner, AntInputHandler.
Please verify.
Comment 2 Darin Swanson CLA 2002-10-28 15:21:07 EST
Test added as well OptionTests#testInputHandler
Comment 3 Darin Swanson CLA 2002-10-28 18:17:53 EST
Note that by default Eclipse provides the AntInputHandler to respond to the 
<input> task.
Comment 4 Darin Swanson CLA 2002-10-28 18:27:20 EST
*** Bug 21667 has been marked as a duplicate of this bug. ***
Comment 5 Jared Burns CLA 2002-10-29 14:03:13 EST
Verified.
Comment 6 scotsummers CLA 2005-11-14 17:57:56 EST
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.
Comment 7 Darin Swanson CLA 2005-11-14 22:18:07 EST
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".