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 Tue, 01 Oct 2002 14:32:38 GMT
I guess I'll just have to do the same. Thanks everyone for your help.
-----Original Message-----
From: Boucart_Nick@emc.com [mailto:Boucart_Nick@emc.com]
Sent: Tuesday, October 01, 2002 9:30 AM
To: ant-user@jakarta.apache.org
Subject: RE: TelnetTask help needed!


I too had difficulties using the telnet task in combination with a win2k
telnet server. On all other platforms (I telnet to linux, hpux11i, solaris8,
etc) the telnet task runs fine. As a workaround, I installed cygwin on my
remote win32 machine and telnet to the cygwin telnet server. Then, my
scripts run fine.




-----Original Message-----
From: Woo, Chen Ching [mailto:cwoo@spss.com]
Sent: Tuesday, October 01, 2002 4:25 PM
To: Ant Users List
Subject: RE: TelnetTask help needed!


I'm running Win2k prof sp3 and doesn't seem to have any problem when i
telnet through the command prompt.

-----Original Message-----
From: Keith Hatton [mailto:khatton@axiomsystems.com]
Sent: Tuesday, October 01, 2002 9:20 AM
To: Ant Users List
Subject: RE: TelnetTask help needed!


Check you have the latest Win2k service packs.
I've seen problems scripting telnet sessions on the plain Win2k server
installation (though that wasn't using Ant).

Keith


-----Original Message-----
From: Woo, Chen Ching [mailto:cwoo@spss.com]
Sent: 01 October 2002 15:09
To: Ant Users List
Subject: RE: TelnetTask help needed!


Thanks Nick but it still doesn't work. 
Has anyone ever tested this task on Windows ?

-----Original Message-----
From: Boucart_Nick@emc.com [mailto:Boucart_Nick@emc.com]
Sent: Tuesday, October 01, 2002 3:37 AM
To: ant-user@jakarta.apache.org
Subject: RE: TelnetTask help needed!


Maybe you can try the reads and writes with their string attribute:

<telnet server="localhost">
	  <read  string="C:\>"/>
	  <write string="dir"/>
	  <read  string="C:\>"/>
</telnet>

Hope this helps,

Nick.
 

-----Original Message-----
From: Woo, Chen Ching [mailto:cwoo@spss.com]
Sent: Monday, September 30, 2002 9:16 PM
To: Ant Users List
Subject: TelnetTask help needed!


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>

--
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>


--
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>

--
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