Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 57612 invoked from network); 8 Jun 2004 00:34:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 8 Jun 2004 00:34:18 -0000 Received: (qmail 46144 invoked by uid 500); 8 Jun 2004 00:34:19 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 46034 invoked by uid 500); 8 Jun 2004 00:34:18 -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 46021 invoked by uid 99); 8 Jun 2004 00:34:18 -0000 Received: from [207.172.4.61] (HELO smtp02.mrf.mail.rcn.net) (207.172.4.61) by apache.org (qpsmtpd/0.27.1) with ESMTP; Mon, 07 Jun 2004 17:34:18 -0700 Received: from 65-78-6-14.c3-0.ned-ubr2.sbo-ned.ma.cable.rcn.com ([65.78.6.14] helo=GRACE) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #7) id 1BXUYj-0001Sb-00 for user@ant.apache.org; Mon, 07 Jun 2004 20:33:45 -0400 From: "Mani G. Iyer" To: "'Ant Users List'" Subject: RE: Calling a Unix Command from Ant Date: Mon, 7 Jun 2004 20:33:43 -0400 Message-ID: <004101c44cf0$438506b0$6401a8c0@u14917.ecpm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: <20040607212828.6791.qmail@web20311.mail.yahoo.com> Importance: Normal X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Sorry to butt in, Jack. Shailesh, you can use the rexec task to do this. HTH. mani -----Original Message----- From: Shailesh Sharma [mailto:shailesh_scea@yahoo.com] Sent: Monday, June 07, 2004 5:28 PM To: Ant Users List Subject: Re: Calling a Unix Command from Ant Jack, can i also run the exec command remotely ? say i have a UNIX box called "a" and i wanted to run this command from "a" on "b". -shailesh "Jack J. Woehr" wrote: Shailesh Sharma wrote: > Hi All, > > Does anybody know how to run a UNIX command ........from an ANT script ????? Everyone who has read the manual does. Check out the Exec task. -- Jack J. Woehr # We have gone from the horse and buggy Senior Consultant # to the moon rocket in one lifetime, but Purematrix, Inc. # there has not been a corresponding moral www.purematrix.com # growth in mankind. - Dwight D. Eisenhower --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------- Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org