Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 76181 invoked from network); 4 Jan 2008 21:03:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Jan 2008 21:03:07 -0000 Received: (qmail 20858 invoked by uid 500); 4 Jan 2008 21:02:55 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 19898 invoked by uid 500); 4 Jan 2008 21:02:52 -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 19887 invoked by uid 99); 4 Jan 2008 21:02:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Jan 2008 13:02:52 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [206.190.48.111] (HELO web52108.mail.re2.yahoo.com) (206.190.48.111) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 04 Jan 2008 21:02:28 +0000 Received: (qmail 7686 invoked by uid 60001); 4 Jan 2008 21:02:31 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=mvENmBnQEy1V8eLcoPjjW8HdFrxWhj7AVUDVRfjlgWIlJuj46AzZ6i+JTDMgrZfsHUDWXyiC1Cg4SF1MWrr7EFHBahsfWuSc4X7hDKeh3ki1Sa4eZC7W9AV0NMRBEm1hKWu/lGqTbHScwe2AlMiXE++VoyaSnxOL8ZTMalUzEIU=; X-YMail-OSG: 868_YswVM1nrm86ho11LKKKCn_SjfXWZindAisaySHQjtEYeJTsNZOX35R5mMmjWAw-- Received: from [209.211.169.130] by web52108.mail.re2.yahoo.com via HTTP; Fri, 04 Jan 2008 13:02:31 PST Date: Fri, 4 Jan 2008 13:02:31 -0800 (PST) From: Chuck Holzwarth Subject: Re: environment attribute To: Ant Users List In-Reply-To: <255d8d690801041232g540d174dh37c7366d047680ed@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-563570991-1199480551=:5090" Content-Transfer-Encoding: 8bit Message-ID: <518208.5090.qm@web52108.mail.re2.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org --0-563570991-1199480551=:5090 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit I just tried this on a Solaris VM on my desktop and HOSTNAME is not defined by default. You may want to issue "export HOSTNAME=`hostname`" in your .profile. Change this as appropriate for your shell. Dominique Devienne wrote: On 1/4/08, Barry Pape wrote: > Hopefully this is a quick and easy question. Is the environment > attribute of the property task supported on Solaris? Yes. > I've been trying > to use ${env.HOSTNAME} but it doesn't appear to resolve. Most likely because you have no such env. var. in your current shell. Verify that using echo $HOSTNAME in the same shell you run Ant from. Available env. vars varies by OS and shell usually. --DD --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org Thank you, Chuck Holzwarth (804) 403-3478 (home) (540) 335-3171 (cell) --------------------------------- Looking for last minute shopping deals? Find them fast with Yahoo! Search. --0-563570991-1199480551=:5090--