Return-Path: Mailing-List: contact user-help@ant.apache.org; run by ezmlm Delivered-To: mailing list user@ant.apache.org Received: (qmail 31213 invoked from network); 1 May 2003 15:15:24 -0000 Received: from mail02.pncbank.com (170.201.41.54) by daedalus.apache.org with SMTP; 1 May 2003 15:15:24 -0000 Received: from eman1.pncbank.com (eman1 [170.201.41.76]) by mail02.pncbank.com (8.10.0/8.10.0) with ESMTP id h41FFQ000701 for ; Thu, 1 May 2003 11:15:26 -0400 (EDT) Received: from vwall2.pncbank.com (localhost [127.0.0.1]) by eman1.pncbank.com (8.10.2+Sun/8.10.2) with ESMTP id h41F7NX17618 for ; Thu, 1 May 2003 11:07:23 -0400 (EDT) Received: from ppntmm01.pncbank.com (localhost [127.0.0.1]) by vwall2.pncbank.com (8.9.3+Sun/8.9.3) with ESMTP id LAA28071 for ; Thu, 1 May 2003 11:15:24 -0400 (EDT) From: mark.russel@pncbank.com To: "Ant Users List" Subject: RE: Checking the status of a list of machines Date: Thu, 1 May 2003 11:15:22 -0400 Message-ID: X-MIMETrack: Serialize by Router on PNCPGHM01/PGH/MAIL/PNC(Release 5.0.8 |June 18, 2001) at 05/01/2003 11:15:24 AM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I thought I coudl use the condition task's socket condition to check the presence of the ssh port Thursday, May 01, 2003 11:08 AM To: "'Ant Users List'" cc: From: David McTavish Subject: RE: Checking the status of a list of machines This could be an interesting application of ant. ant, the network monitoring tool... Anybody written an snmp or even a ping task? :) -----Original Message----- From: Ciramella, EJ [mailto:ECiramella@emptoris.com] Sent: Thursday, May 01, 2003 11:06 AM To: 'Ant Users List' Subject: RE: Checking the status of a list of machines What do you need to check? If the machine is uptodate with a set of files? Is an application deployed? -----Original Message----- From: peter reilly [mailto:peter.reilly@corvil.com] Sent: Thursday, May 01, 2003 11:08 AM To: Ant Users List Subject: Re: Checking the status of a list of machines One solution is to use xmlproperty and foreach from ant-contrib. http://ant-contrib.sourceforge.net/ant-contrib/manual Check Deploy on machine ${machine} Then use 'ant -Dmachine.file="test.xml" ' or 'ant' to use the default file "input.xml" Peter On Thursday 01 May 2003 15:43, mark.russel@pncbank.com wrote: > I am in the process of building a generic deployment process that uses ant. > All of the J2EE developers will use this process to deploy their code to > test, QA, and production Environments. > One of my tasks is the ability to check the status of the machines I am > going to deploy to before I start the process. > The user is going to give me a list of machines that they are going to > deploy to and I need to check each machine on that list. How do I do this? > > user 1 example input: > > > > test1,test2,webtest1,webtest2 > > > > > user 2 example input: > > > > ejbt1,ejbt2,webtest1,webtest2 > > > > > What I want to do is run a task that will (Order is not important) > (with user 1 input) > check test1 > check test2 > check webtest1 > check webtest2 > > (with user2 input) > check ejbt1 > check ejbtt2 > check webtest1 > check webtest2 > > Any help will be greatly appreciated both in the ant tasks and the way to > give the input to the ant script. > > > Mark Russell > PNC Financial Services Group > 412-768-9603 > > > --------------------------------------------------------------------- > 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 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org