Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 52515 invoked from network); 24 Aug 2004 20:40:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 24 Aug 2004 20:40:00 -0000 Received: (qmail 15187 invoked by uid 500); 24 Aug 2004 20:39:50 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 15053 invoked by uid 500); 24 Aug 2004 20:39:49 -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 15038 invoked by uid 99); 24 Aug 2004 20:39:49 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.114.32.105] (HELO zcamail05.zca.compaq.com) (161.114.32.105) by apache.org (qpsmtpd/0.27.1) with ESMTP; Tue, 24 Aug 2004 13:39:46 -0700 Received: from cacexg13.americas.cpqcorp.net (cacexg13.americas.cpqcorp.net [16.92.1.76]) by zcamail05.zca.compaq.com (Postfix) with ESMTP id 201FDBC5B for ; Tue, 24 Aug 2004 13:39:46 -0700 (PDT) Received: from cacexc08.americas.cpqcorp.net ([16.92.1.35]) by cacexg13.americas.cpqcorp.net with Microsoft SMTPSVC(6.0.3790.0); Tue, 24 Aug 2004 13:39:29 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Subject: Hostname in ant Date: Tue, 24 Aug 2004 13:39:29 -0700 Message-ID: <21F30BDFFFF33542A46E12BE1EC89A14ECB25B@cacexc08.americas.cpqcorp.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Hostname in ant Thread-Index: AcSKGnQEMHV6qnVlRBi7rwaeMZW9Gg== From: "Gera, Prateek" To: X-OriginalArrivalTime: 24 Aug 2004 20:39:29.0876 (UTC) FILETIME=[74558140:01C48A1A] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, How can I get the hostname OR IP adress of a unix system that ant runs on. The environment variable HOSTNAME is not set, as may be on some unix systems. Thanks ./pr --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org