Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 62802 invoked from network); 22 Jun 2010 16:04:17 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 22 Jun 2010 16:04:17 -0000 Received: (qmail 27210 invoked by uid 500); 22 Jun 2010 16:04:16 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 27121 invoked by uid 500); 22 Jun 2010 16:04:16 -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 27113 invoked by uid 99); 22 Jun 2010 16:04:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jun 2010 16:04:16 +0000 X-ASF-Spam-Status: No, hits=2.1 required=10.0 tests=AWL,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of milu71@gmx.de designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 22 Jun 2010 16:04:09 +0000 Received: (qmail invoked by alias); 22 Jun 2010 16:03:46 -0000 Received: from e182082068.adsl.alicedsl.de (EHLO localhost) [85.182.82.68] by mail.gmx.net (mp046) with SMTP; 22 Jun 2010 18:03:46 +0200 X-Authenticated: #48488578 X-Provags-ID: V01U2FsdGVkX19JvjkrqbVJcn7uUa18aDR85jvr0+wHUBaZl2jjxD WBqBZH//IeNTrD Date: Tue, 22 Jun 2010 18:03:34 +0200 From: Michael Ludwig To: user@ant.apache.org Subject: Re: Need cross platform way of assigning users name to a property Message-ID: <20100622160334.GD2968@wladimir> Mail-Followup-To: user@ant.apache.org References: <918084.23541.qm@web39804.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <918084.23541.qm@web39804.mail.mud.yahoo.com> User-Agent: Mutt/1.4.2.2i X-Y-GMX-Trusted: 0 Dean Schulze schrieb am 22.06.2010 um 08:25 (-0700): > > > > I need a cross-platform way to assign a user.name property in Ant.� > Is there some way that I can�read the username from the environment in > a cross-platform way given that it has to happen at the top of the > script? I'm probably missing something, but what's wrong with the following, which is provided by Ant out of the box: -- Michael Ludwig --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org