ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, Rob (Global Trade)" <Rob.Ander...@nike.com>
Subject RE: sshexec and remote compilation
Date Wed, 15 Jun 2005 18:06:46 GMT
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@archivas.com]
> 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@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