DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17396>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17396

input task fails if 2 inputs redirected from a file





------- Additional Comments From [EMAIL PROTECTED]  2003-02-26 10:28 -------
works for me using CVS HEAD on Linux.

Well, no, it doesn't really work for me as test.input2 doesn't get set, but at
least I don't get an exception (I'll make the code more robust shortly).

What I think is happening is that the BufferedReader in DefaultInputHandler
exhausts the redirected input in the first tasks.

The way you use the task is not the way it has been designed for.  For canned
responses you should use a properties file and PropertyFileInputHandler.  Please
refer to the documentation of InputHandler.

http://ant.apache.org/manual/inputhandler.html

Reply via email to