SSHExec executes without any environment.

So the script that you call with SSHExec should set the environment variables 
you requires (eg: PATH)

See what the environment is when you run via command prompt and set the same in 
the first script that SSHExec calls.



-----Original Message-----
From: Chuck Holzwarth [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 24, 2008 1:43 PM
To: Ant Users List
Subject: Re: SSHExec Target


What does the sshexec code look like?

Rishi Gogia <[EMAIL PROTECTED]> wrote: Hi
 
I am using SSHExec target in my Build.xml which is calling a shell script. This 
shell script internally connects to another server in the network through SSH. 
The shell script is running fine when executed from solaris command prompt. but 
when executed from the build.xml, it doesn't call the command to connect 
through SSH.
 
Please tell me what's going on and how can I correct it.
 
Thanks
 
Rishi


Thank you,
Chuck Holzwarth
(804) 403-3478 (home)
(540) 335-3171 (cell)
       
---------------------------------
Never miss a thing.   Make Yahoo your homepage.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to