| sshexec and remote compilation | sshexec and remote compilation 2005-06-15 - By EJ Ciramella
I hate when people post questions but nothing in regards to the success/failure/solution.
I added one more command to add in a few other directories and -bingo- .
Perfect for those rare occasions where you're not allowed to install anything!
Thanks!
On Jun 15, 2005, at 2:06 PM, Anderson, Rob (Global Trade) wrote:
> The ssh server has a PATH compiled into it. You probably want to > source your .profile first in the command attribute. > > <sshexec host="192.168.112.121" username="username" > password="password" command=". ~/.profile ; cd /home/source/ > engineering/main/csrc; ./ > configure; make all"/> > > I hope this helps. > > -Rob A > > > >> -----Original Message----- >> From: EJ Ciramella [mailto:eciramella@(protected)] >> Sent: Wednesday, June 15, 2005 9:43 AM >> To: Ant Users List >> Subject: sshexec and remote compilation >> >> >> Is anyone here using ant to build on remote machines? I looked at >> rant and a few others, but they aren't quite what I need (and >> in some >> cases, there's no way to sell installing anything more than what's >> there). >> >> All I want to do is something like: >> >> <sshexec host="192.168.112.121" username="username" >> password="password" command="cd >> /home/source/engineering/main/csrc; ./ >> configure; make all"/> >> >> But my path is all goofed when I do this. I tried doing an "echo >> $PATH" and I can see it's set correctly. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscribe@(protected) >> For additional commands, e-mail: user-help@(protected) >> >> >> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@(protected) > For additional commands, e-mail: user-help@(protected) > > >
--------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)
|
|
 |