Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 21693 invoked from network); 10 Dec 2004 01:53:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 10 Dec 2004 01:53:22 -0000 Received: (qmail 7095 invoked by uid 500); 10 Dec 2004 01:53:18 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 6738 invoked by uid 500); 10 Dec 2004 01:53:17 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 6721 invoked by uid 99); 10 Dec 2004 01:53:17 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from h00104bd1bea1.ne.client2.attbi.com (HELO mail.laconiadatasystems.com) (65.96.178.60) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 09 Dec 2004 17:53:15 -0800 Received: from martini ([65.96.178.60]) by mail.laconiadatasystems.com (Merak 7.6.4) with SMTP id DEMO for ; Thu, 09 Dec 2004 20:53:48 -0500 Message-ID: <015601c4de5b$174d0410$3cb26041@martini> Reply-To: "Laconia Data Systems" From: "Laconia Data Systems" To: "Ant Users List" Cc: References: Subject: Re: Sshexec and nohup Date: Thu, 9 Dec 2004 20:53:48 -0500 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.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N sounds like a permissions error when you call build.xml task you'll need to pass your pgp key along or you'll need to authenticate in same way I would look into ssh task for running the task also ssh task for creating the necessary files Anyone else ?? Martin- ----- Original Message ----- From: To: "Ant Users List" Cc: Sent: Thursday, December 09, 2004 7:02 PM Subject: Re: Sshexec and nohup > Maybe it's creating it in a different directory. The file should be in > the working directory which may not be the same as the script dir. > Did you try ssh-ing from another box and running it manually? > > Regards, > Nick G > > > > > > "Jacob, Anil - MWT" > 12/09/2004 06:50 PM > Please respond to "Ant Users List" > > To: > cc: > Subject: Sshexec and nohup > > > > We have a script(for example start.sh) which has a nohup ./startxxxx & > in it, therefore it creates a nohup.out file. When I execute the > start.sh on the system it creates the nohup.out file and everything is > fine. > I have an ANT build file on a remote system which uses the sshexec task > to execute the above mentioned script, however I noticed that when I > call the script thru ANT it never creates the nohup.out file, even > through the remote script does go into the background. > > Any idea's? > > Anil > > > > --------------------------------------------------------------------- > 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