ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <anto...@gmx.de>
Subject Re: Error executing RSH from ANT script
Date Wed, 31 Aug 2005 14:07:49 GMT
Hello Michael,

not exactly sure why there is this handle problem.

you might want to try - supposing you are working with ant 1.6 and that
there is a ssh daemon on the host where you want to execute something
remotely - the sshexec task.

Otherwise, there are a <telnet/> and a <rexec/> task in ant.

Cheers,

Antoine

> --- Urspr√ľngliche Nachricht ---
> Von: Michael.Giroux@Bull.com
> An: user@ant.apache.org
> Betreff: Error executing RSH from ANT script
> Datum: Tue, 30 Aug 2005 07:46:38 -0700
> 
> 
> 
> 
> 
> I'm getting the following error message on the console view when I execute
> rsh in an ANT script.
> 
> [exec] Terminal readThe handle is invalid.
> [exec] /home/jerome
> 
> The execute task is:    <arg
> value='coke'/> <arg value='${coke.user}'/><arg value='sh make.sh'/>
> The shell script contains a single pwd command.
> 
> When executed directly from a DOS command prompt, the RSH command displays
> the working directory sans error message.
> 
> Any suggestions for how to eliminate the "terminal read ..." error
> message?
> 
> Michael Giroux
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

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


Mime
View raw message