ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gubs <gub...@gmail.com>
Subject Ant question on sshexec
Date Fri, 29 Jun 2012 15:49:11 GMT
Hi,

I have 2 questions.

1) I have a shell script in remote machine to stop and start the job. When i
use sshexec command through ant to execute the script the call to the job
holds it never stops. It continues..I want to run the job in the back-end

Below is the code : <sshexec host="${batch.host.name}"
username="${user.name}" password="${pwd.name}"
command="${batch.dir}/restart.sh"/>

when i execute restart.sh in the 92 box the script starting and running in
the back-ground. Please correct me what's the issue

2) In other project there are some environment variables in the remote
machine. So, when i start the script those environment variables are not
getting set and i am getting error. Any ideas ?

Gubs

--
View this message in context: http://ant.1045680.n5.nabble.com/Ant-question-on-sshexec-tp5713361.html
Sent from the Ant - Dev mailing list archive at Nabble.com.

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


Mime
View raw message