Hi,
I use the ant telnet task to connect to a Linux server from Win NT. Login
seems to work but for the first read tag I get the message:
stopServer:
[echo] Ant is going to Stop the web server named bf.
...
[telnet] Last login: Mon Oct 28 10:33:16 from
- Original Message -
From: Alan Yu Feng [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, May 16, 2002 2:01 PM
Subject: Ant telnet task problem on Redhat 7.1
I searched the mailing list and seems that I am the only one having this
problem. Anyway, here it is:
When I use
I searched the mailing list and seems that I am the only one having this
problem. Anyway, here it is:
When I use the ant (v1.4) telnet task to telnet a linux server (Redhat 7.1),
if the command line is too long ( about 70 characters), it will be
truncated into the next line when it is echoed
On Fri, 11 Jan 2002, Steve Hahn [EMAIL PROTECTED] wrote:
I am getting an error when I try to run my build script with the
optional telnet task in the target.
Are you sure there is no other (older) version of Ant in your
CLASSPATH?
What does ant -version say?
Stefan
--
To unsubscribe,
Hello,
I am getting an error when I try to run my build script with the optional
telnet task in the target. Below is my output, followed by the
configuration and build.xml file. Interestingly, I can get the ftp task to
work just fine, but not telnet. Thanks for any help.
OUTPUT:
I am trying to get my ant script to telnet into another box and run a
script. It appears to login (I can't be certain) but doesn't run any command
that I enter in a write tag. I've tried simpler things than running my
script, such as touch, without success. The only indication that I have that
AM
To: ant-user
Cc: gary
Subject: Telnet task problem
I am trying to get my ant script to telnet into another box and run a
script. It appears to login (I can't be certain) but doesn't run any
command
that I enter in a write tag. I've tried simpler things than running my
script, such as touch
Excellent, thank you John, that worked.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 23 April 2001 15:03
To: [EMAIL PROTECTED]
Subject: RE: Telnet task problem
Try using a read sub-task to read the prompt you expect (or part of it)
before you write