Community
Participate
Working Groups
Tasks that require input from stdio lock up Eclipse: - Make sure that "ssh.exe" is on your classpath - Create a new Simple Project - Add the following build.xml: <?xml version="1.0" encoding="UTF-8"?> <project default="testssh" name="SSH Project"> <target name="testssh"> <exec executable="ssh.exe"> <arg line="localhost"/> </exec> </target> </project> - Launch the Ant script from the contect menu on build.xml - On the Log Console, the following message appears: "Pseudo-terminal will not be allocated because stdin is not a terminal." - Eclipse hangs - Even pressing Cancel does not help
Working on this after bug 24318 * Ant has now a pluggable way to prompt users for input, which is used by the new <input> task. IDE integrators can provide an implementation of the InputHandler interface to decouple Ant's input from the console. An implementation that gets its input from a file for unattended builds is part of Ant's distribution. For more details see docs/manual/inputhandler.html.
Sorry annotation was meant for bug 21667
I really do not think that there is much we can do here as the exec effectively creates input and output streams that we know nothing about. As well, 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".
*** Bug 28222 has been marked as a duplicate of this bug. ***
Defer to look at again after 2.1.
Nothing further planned Outlined in readme.
*** Bug 56913 has been marked as a duplicate of this bug. ***
As of now 'LATER' and 'REMIND' resolutions are no longer supported. Please reopen this bug if it is still valid for you.