I had this problem as well. It had to do with the environment being different in Ant's case than from running the command outside of Ant. Check out:

http://markmail.org/message/xqfe4sqiqsujq7vz

thanks to Stefan Bodewig

best,
-Rob


On Feb 9, 2009, at 1:07 PM, Lucas Albers wrote:

I use plink via the exec task.

Easy to setup; reliable.
Works grand.
-----Original Message-----
From: Jan Lund [mailto:[email protected]]
Sent: Wednesday, February 04, 2009 5:33 AM
To: [email protected]
Subject: Simple solutions to sshexec nohup Ant?

Hi all,

I've Googled
some for a solution to run sshexec remote ssh commands via Ant inside Eclipse. But I get some sort of error although it works when the command is ran locally.
The
solutions I've found on the net seems to involve some extra IO redirection and
environment variables.

I would
like to know if there are simpler solutions to this issue.

Thanks,
Jan

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to