You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Zhao, Jasmine" <zh...@clarity.com> on 2001/12/10 06:47:34 UTC

telnet

Hi

I am using <telnet> task to logon to an unix box and runs a makefile from
there. The time for the script to finish is more than 2 hours, however
during the 2 hours my local pc becomes extremely slow, CPU reaches 100% and
99% is taken by java.exe. Can anyone tell me if this is expected or is there
anything wrong with my build script? 


<telnet userid="xxx" password="xxx" server="diamond">            
	    <read>bash-2.02$</read>
                <write string="mkopt"/>
                <read>bash-2.02$</read>
</telnet>

Regards,
Jasmin


-------------------------------------------------------------------------
This message may contain privileged and/or confidential information subject
to a confidentiality agreement or copyright material of Clarity
International Ltd or third parties. You should only re-transmit, distribute
or commercialise the material if you are authorised to do so. 
If you are not an authorised recipient of this email, please contact Clarity
International Ltd immediately by return email or by telephone on +61-2-9925
5000. 
In such case, you may not read, print, store, copy or deliver this message
to anyone, and you should not act in reliance on this email or any
attachment to it. 
Clarity provides no warranty that the material contained in this email or
any attachment to it is free from any virus, defect or error. Opinions in
this message are those of the sender and unless stated otherwise, are not
endorsed by Clarity.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: telnet

Posted by Steve Loughran <st...@iseran.com>.
----- Original Message -----
From: "Zhao, Jasmine" <zh...@clarity.com>
To: <an...@jakarta.apache.org>
Sent: Sunday, December 09, 2001 21:47
Subject: telnet


> Hi
>
> I am using <telnet> task to logon to an unix box and runs a makefile from
> there. The time for the script to finish is more than 2 hours, however
> during the 2 hours my local pc becomes extremely slow, CPU reaches 100%
and
> 99% is taken by java.exe. Can anyone tell me if this is expected or is
there
> anything wrong with my build script?
>
>
> <telnet userid="xxx" password="xxx" server="diamond">
>     <read>bash-2.02$</read>
>                 <write string="mkopt"/>
>                 <read>bash-2.02$</read>
> </telnet>
>
> Regards,
> Jasmin

I havent encountered this problem, but my telnets are pretty short, no more
than a minute or two.

I might be better to start the make, ("nohup mkopt&") and then <sleep> for a
while, or try and think of some other synchronisation mechanism. [which
means nothing springs to mind]


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>