ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mangalmurti" <i...@nagpur.dot.net.in>
Subject Re: [new file] a different Telnet Task
Date Mon, 06 Nov 2000 19:52:57 GMT
I wish to UNSUBSCRIBE to this mail list. Please update your records
immediately.

-----Original Message-----
From: Scott Carlson <scottcarlson@yahoo.com>
To: ant-dev@jakarta.apache.org <ant-dev@jakarta.apache.org>
Cc: sr@adolos.com <sr@adolos.com>
Date: Tuesday, November 07, 2000 1:28 AM
Subject: [new file] a different Telnet Task


>Looks like I missed the curve again...
>
>I've created a telnet task of my own.  This is a bit more generic.  As it
>incorporates subTasks for the read and writes.  I had some ideas about
allowing
>a list of possible responses and performing conditional writes as well.
>
>I don't want to step on any toes.  If I should create a patch to Stuart's
>telnet I can do that.  The userid/password combination are not required,
but if
>they are specified it uses ogin: and ssword: as prompts.
>
>An example task looks like this:
>  <target name="bounce" depends="init">
>     <telnet userid="userid" password="password" server="server">
>         <read>&gt;</read>
>         <write string="./bounce"/>
>         <read string="restarted"/>
>     </telnet>
>  </target>
>
>
>=====
>-----------------
>Scott Carlson
>Marquette University Alumnus
>ScottCarlson@technologist.com
>
>
>__________________________________________________
>Do You Yahoo!?
>Thousands of Stores.  Millions of Products.  All in one Place.
>http://shopping.yahoo.com/


Mime
View raw message