From user-return-71409-apmail-ant-user-archive=ant.apache.org@ant.apache.org Thu Feb 10 11:54:13 2011 Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 96309 invoked from network); 10 Feb 2011 11:54:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Feb 2011 11:54:13 -0000 Received: (qmail 94849 invoked by uid 500); 10 Feb 2011 11:54:12 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 94532 invoked by uid 500); 10 Feb 2011 11:54:10 -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 94524 invoked by uid 99); 10 Feb 2011 11:54:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Feb 2011 11:54:09 +0000 X-ASF-Spam-Status: No, hits=-1.6 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [192.6.10.2] (HELO colossus.hpl.hp.com) (192.6.10.2) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Feb 2011 11:54:00 +0000 Received: from localhost (localhost [127.0.0.1]) by colossus.hpl.hp.com (Postfix) with ESMTP id 714E01BA47D for ; Thu, 10 Feb 2011 11:53:39 +0000 (GMT) X-Virus-Scanned: Debian amavisd-new at hpl.hp.com Received: from colossus.hpl.hp.com ([127.0.0.1]) by localhost (colossus.hpl.hp.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id fDP70k0iAIqs for ; Thu, 10 Feb 2011 11:53:39 +0000 (GMT) Received: from 0-imap-br1.hpl.hp.com (0-imap-br1.hpl.hp.com [16.25.144.60]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by colossus.hpl.hp.com (Postfix) with ESMTPS id 0627D1BA0BB for ; Thu, 10 Feb 2011 11:53:38 +0000 (GMT) MailScanner-NULL-Check: 1297943605.11346@QxLATANF630/CBiMBP5nlQ Received: from [16.25.175.158] (morzine.hpl.hp.com [16.25.175.158]) by 0-imap-br1.hpl.hp.com (8.14.1/8.13.4) with ESMTP id p1ABrO9C025050 for ; Thu, 10 Feb 2011 11:53:24 GMT Message-ID: <4D53D1B4.9090508@apache.org> Date: Thu, 10 Feb 2011 11:53:24 +0000 From: Steve Loughran User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7 MIME-Version: 1.0 To: user@ant.apache.org Subject: Re: To check server is down References: <1296832130665-3371133.post@n5.nabble.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HPL-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: p1ABrO9C025050 X-HPL-MailScanner: Found to be clean X-HPL-MailScanner-From: stevel@apache.org X-Virus-Checked: Checked by ClamAV on apache.org On 04/02/11 15:34, Martin Gainty wrote: > > svn:// URLs are on port 3960 > discover-target would need to test netstat output e.g. > netstat -a | grep 3960>output.file > a fail message would be no output > a found message would be the IP:3960 of the server > > OR in the case of ssh+svn > netstat -a | grep 22>output.file > a fail message would be no output > > a found message would be the IP:3960 of the server There's a risk there that if /etc/services is up to date, the netstat won't show 22, it will show svn. I'd use the No SVN server I use this kind of check in , blocking for something to go live before running the unit tests against it -steve --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org