ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject [PATCH]
Date Sun, 12 Nov 2000 15:00:27 GMT
Thanks for accepting the task, and for the cleanup, Stefan.  
I'm attaching a patch for this task. 
Adding timeout attributes at the <telnet>, and <read> levels.  
And based on Stuart's suggestions.  A initialCR attribute, required for
some hosts on <telnet>.  An echo attribute on <write>, to suppress echo of
passwords or other commands.

The timeouts are done with a buzz loop.  Not optimal, but it does work.
If anyone has a better way, I be appreciative. 

Hopefully I haven't done anything that isn't 1.1 compatible again.


On 8 Nov 2000, Stefan Bodewig wrote:

> (1) New package and added license, no big deal.
> (2) Used Vector instead of ArrayList to make it work on JDK 1.1.
> (3) replaced all System.exit calls with throw BuildException
> (4) replaced all System.out.println calls with Ant's logging system
> (5) TelnetSubTask doesn't extend MatchingTask anymore (why did it
> anyway?).
Cut and paste from something else. Whoops.
> Hope this is OK with you Scott.
> Stefan

View raw message