Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 87817 invoked from network); 10 May 2005 14:57:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 May 2005 14:57:08 -0000 Received: (qmail 24610 invoked by uid 500); 10 May 2005 15:00:34 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 24561 invoked by uid 500); 10 May 2005 15:00:34 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 24547 invoked by uid 99); 10 May 2005 15:00:34 -0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FORGED_YAHOO_RCVD X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from web30911.mail.mud.yahoo.com (HELO web30911.mail.mud.yahoo.com) (68.142.201.64) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 10 May 2005 08:00:34 -0700 Received: (qmail 94396 invoked by uid 60001); 10 May 2005 14:57:02 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=xDI2Hessi3NVGmi6PGSwZNIZRKL0C+YIplcjD41lcAsgBC8Lji62zbvrBRayI3d90XoGtoL4UaoxCufCJfekcAT0DK7LmaM+DgGnn1efOeRFC/r5uaBN3tvcF5cwt5svjQvg8Vax9jDj0yR6y0baJiveryhRpGU5i+hz+bYYyVQ= ; Message-ID: <20050510145702.94394.qmail@web30911.mail.mud.yahoo.com> Received: from [65.247.233.5] by web30911.mail.mud.yahoo.com via HTTP; Tue, 10 May 2005 07:57:02 PDT Date: Tue, 10 May 2005 07:57:02 -0700 (PDT) From: Matt Benson Subject: RE: Environment and PropertySet To: Ant Developers List In-Reply-To: 6667 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --- Dominique Devienne wrote: > > From: Stefan Bodewig [mailto:bodewig@apache.org] > > On Mon, 9 May 2005, Matt Benson > wrote: > > > Variable can accept a nested PropertySet OR have > its > > > key & value attributes set as usual > > > > As far as names are concerned, I'd go with the same > name already used by > the task with a 'set' suffix, i.e. for > //, use > . My reason for wanting to nest the propertyset into a regular element is that these are passed by and to an Environment object. This means that if the code is added to Environment, so that: Any user of Environment.Variable (exec should be the paradigm) automatically supports propertysets. If this nesting approach--with whatever element name, although I tend to use the add(...) IH methods--is acceptable in general, I have got this working already. -Matt > > With and , both using a > mapper with a prefix, > you can then easily configure the runtime > environment of for > example, without changing the build script, by > defining properties > (easily done in a user-specific way) like > runtime-env.SOME_ENV_VAR and > runtime.SOME_PROPERTY. --DD > ---------------------------------------------------------------------- > This e-mail, including any attached files, may > contain confidential and privileged information for > the sole use of the intended recipient. Any review, > use, distribution, or disclosure by others is > strictly prohibited. If you are not the intended > recipient (or authorized to receive information for > the intended recipient), please contact the sender > by reply e-mail and delete all copies of this > message. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > dev-unsubscribe@ant.apache.org > For additional commands, e-mail: > dev-help@ant.apache.org > > Yahoo! Mail Stay connected, organized, and protected. Take the tour: http://tour.mail.yahoo.com/mailtour.html --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org