ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Woo, Chen Ching" <c...@spss.com>
Subject RE: TelnetTask help needed!
Date Mon, 30 Sep 2002 19:28:55 GMT
Matt,

Thanks for the reply.  Yes, I'm running telnet on my local box. The prompt I got by typing
telnet localhost is as follows:

*===============================================================
Welcome to Microsoft Telnet Server.
*===============================================================
C:\>

Thanks.

chen.

-----Original Message-----
From: Matt Benson [mailto:gudnabrsam@yahoo.com]
Sent: Monday, September 30, 2002 2:26 PM
To: Ant Users List
Subject: Re: TelnetTask help needed!


Are you running telnet on your local box?  Even so I
don't expect the prompt would be the same as the DOS
prompt, but that's just a guess...

-Matt

--- "Woo, Chen Ching" <cwoo@spss.com> wrote:
> I've the following script to use the Telnet task
> using Ant1.5 on win2000:
> 
> <project name="telnetTest" default="telnet">
> <target name="telnet">
> 	<telnet server="localhost">
> 	  <read>C:\></read>
> 	  <write>dir</write>
> 	  <read>C:\></read>
> 	</telnet>
>   </target>
> </project>
> 
> Ant seems to be waiting for the 'C:\>' input stream
> forever. I know I must have
> done something wrong in the <read> sub-task.
> 
> Any help will be greatly appreciated.
> 
> Thanks.
> 
> chen.
> 
> --
> To unsubscribe, e-mail:  
> <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:ant-user-help@jakarta.apache.org>
> 


__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message