Return-Path: Mailing-List: contact user-help@ant.apache.org; run by ezmlm Delivered-To: mailing list user@ant.apache.org Received: (qmail 30219 invoked from network); 17 Apr 2003 16:08:42 -0000 Received: from relay1.tiscali.de (HELO webmail.tiscali.de) (62.27.55.1) by daedalus.apache.org with SMTP; 17 Apr 2003 16:08:42 -0000 Received: from DJ0X820J (80.128.229.243) by webmail.tiscali.de (6.7.008) id 3E9E291500052B98; Thu, 17 Apr 2003 17:52:40 +0200 Message-ID: <01aa01c304fb$a989ab20$030200c0@DJ0X820J> From: "Antoine Levy-Lambert" To: "Ant Users List" , References: Subject: Re: SSHEXEC task Date: Thu, 17 Apr 2003 18:09:01 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I do not know yet the sshexec task and so on. Maybe you should add a "set -x" or something like that in your remote script to allow debugging. Where do you define the env var on the remote machine ? Is it in the .login or .profile of the user you are running ssh against ? Maybe these scripts do not get executed. Or may be you are doing something like where you should be doing Hope this helps Antoine ----- Original Message ----- From: "Samuel Blanchet" To: "'Ant Users List'" Sent: Thursday, April 17, 2003 5:51 PM Subject: SSHEXEC task > Hi, > > I'm using the SSHEXEC task but when I execute a script file on a remote > machine in which I define an environnement variable I'm not able to use this > variable in my SSH script. > > Could you help me ? > > Thanks > > Sam > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org >