ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhao, Jasmine" <>
Subject RE: telnet
Date Mon, 10 Dec 2001 23:03:22 GMT
I launch this from the command line i.e ant BE, after 2 mins, the cpu
reaches 100%. How do I make the process sleep while the unix box runs the

 <target name="BE">
                performing UNIX commands...
            <telnet userid="xxx" password="xxx" server="diamond">

                 <write string="mkopt"/>

-----Original Message-----
From: Ramasubbu, Hari []
Sent: Tuesday, December 11, 2001 6:33 AM
To: 'Ant Users List'
Subject: RE: telnet

How are u launching this .. from the command line ? .. or from any other
'ce i too use a unix telnet process  from windows which takes a pretty long
time to finish.
But i dont find any problems from the process which forks the unix telnet.
there could be some other process which grows with ur telnet launch.


> 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%
> 99% is taken by java.exe. Can anyone tell me if this is expected or is
> 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:   <>
For additional commands, e-mail: <>

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
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:   <>
For additional commands, e-mail: <>

View raw message