From user-return-63154-apmail-ant-user-archive=ant.apache.org@ant.apache.org Wed Dec 05 05:56:22 2007 Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 76692 invoked from network); 5 Dec 2007 05:56:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Dec 2007 05:56:22 -0000 Received: (qmail 16696 invoked by uid 500); 5 Dec 2007 05:56:04 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 16659 invoked by uid 500); 5 Dec 2007 05:56:04 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 16648 invoked by uid 99); 5 Dec 2007 05:56:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Dec 2007 21:56:03 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of stepan.mishura@gmail.com designates 209.85.146.176 as permitted sender) Received: from [209.85.146.176] (HELO wa-out-1112.google.com) (209.85.146.176) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Dec 2007 05:55:43 +0000 Received: by wa-out-1112.google.com with SMTP id k22so6504656waf for ; Tue, 04 Dec 2007 21:55:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=WfdBeOIyDMtZJAe85Qec72pkq+I4pYC1763KXbhvl2k=; b=htTLJUNzSkRoYAQsiRGDIE7O7/IQWMzqb0ZrQTZNTjoAL7qkwvf7qRumJ1SYRJG1n/qkwll2O8dkrzCLGZAX5R3x3G+dSN5piouEwdkCESU5I0oCi4EYw+L6diIj4OB8i/oUkZ2azCpjcJOj3LfA/RD+y18EdHcD+l/cHpFmjE8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Tum0xuAK28alxB2bQrPGyQhNjGrODnqwhojZTutXUBL8TSZkhAd8nein4ipCUgR9HZhCowBvGJIfD7dBtVSOpFcCUoLEZfFDQepOQ46Htm9272ba7D+vtBcooO1x9iV9jfF8q3OWM/34I2omQ/XraWAHBHQaTYvCXyx6Jjur14I= Received: by 10.115.23.12 with SMTP id a12mr1733724waj.1196834145992; Tue, 04 Dec 2007 21:55:45 -0800 (PST) Received: by 10.114.57.10 with HTTP; Tue, 4 Dec 2007 21:55:45 -0800 (PST) Message-ID: <6e47b64f0712042155p2e5aa7cbw501c790347b1d86@mail.gmail.com> Date: Wed, 5 Dec 2007 11:55:45 +0600 From: "Stepan Mishura" To: "Ant Users List" Subject: Re: Stopping a process identified by name In-Reply-To: <6A15F63173E5ED47BFE0BA0411BEB52D322F2A@LONS124013.eu.rabonet.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <6A15F63173E5ED47BFE0BA0411BEB52D322F2A@LONS124013.eu.rabonet.com> X-Virus-Checked: Checked by ClamAV on apache.org On 11/28/07, Agarkar, M (Milind) wrote: > Thanks Jan. > Any idea about how to trap a PID on-the-fly ? It would be a script to run= automatically. > In snapshot testing we use the next targets to find and kill hung VMs after a suite run. PROCESSES: ${proccess} Thanks, Stepan. > -----Original Message----- > From: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de] > Sent: 28 November 2007 13:24 > To: user@ant.apache.org > Subject: AW: Stopping a process identified by name > > No, there is no build-in task for that. > You could use in combination of a system command "kill" and the pr= ocess id ... > > Jan > > > -----Urspr=FCngliche Nachricht----- > > Von: Agarkar, M (Milind) [mailto:Milind.Agarkar@rabobank.com] > > Gesendet: Mittwoch, 28. November 2007 14:05 > > An: Ant Users List > > Betreff: Stopping a process identified by name > > > > Hi, > > > > Is there a way to stop/kill a process running on unix using the ant > > script ? Would I need to write a custom task ? > > > > Thanks, > > Milind > > _____________________________________________________________ > > > > This email (including any attachments to it) is confidential, legally > > privileged, subject to copyright and is sent for the personal > > attention of the intended recipient only. If you have received this > > email in error, please advise us immediately and delete it. You are > > notified that disclosing, copying, distributing or taking any action > > in reliance on the contents of this information is strictly > > prohibited. Although we have taken reasonable precautions to ensure no > > viruses are present in this email, we cannot accept responsibility for > > any loss or damage arising from the viruses in this email or > > attachments. We exclude any liability for the content of this email, > > or for the consequences of any actions taken on the basis of the > > information provided in this email or its attachments, unless that > > information is subsequently confirmed in writing. If this email > > contains an offer, that should be considered as an invitation to > > treat. > > _____________________________________________________________ > > > > --------------------------------------------------------------------- > > 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 co= mmands, 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 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org