ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lucasnoletode Arruda <lucasnoletode.arr...@tcs.com>
Subject sshexec ant task: environment variables
Date Tue, 07 Jul 2009 22:47:35 GMT

Hi devs,

I've a fix for one issue that I've been going through while using SSHExec
optional task. See the following URL.

http://stackoverflow.com/questions/1074385/sshexec-ant-task-environment-variables



problem description:
=================
I'm using SSHExec ant task to connect to a remote host and I depend on the
environment variables that are set on the remote host in order to be able
to successfully execute some commands.

<sshexec host="somehost"
    username="${username}"
    password="${password}"
    command="set"/>

Using the task the env. variables that are outputed are not the same as the
ones I get when I log in using an SSH Client.

How can I make the env. variables of the remote host avaiable for the
session?
===================


regards,
- lucas "luky".

=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you




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


Mime
View raw message