ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 26299] - Using sshexec to run ant remotely - Using ant to run sshexec
Date Wed, 21 Jan 2004 08:20:17 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26299>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26299

Using sshexec to run ant remotely - Using ant to run sshexec





------- Additional Comments From antoine@apache.org  2004-01-21 08:20 -------
Hi,
I think you want to "source" your login script on the remote machine before
starting ant.
Try this

<ssh command=". .profile; cd builddir; ant" .../>
(. .profile would be the way to explicitly source your profile under ksh.
For csh, it would be "source .cshrc" I believe.

Hopes this helps,

Antoine

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


Mime
View raw message