From dev-return-62841-apmail-ant-dev-archive=ant.apache.org@ant.apache.org Tue Jan 11 15:39:58 2005 Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 53307 invoked from network); 11 Jan 2005 15:39:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 11 Jan 2005 15:39:58 -0000 Received: (qmail 43665 invoked by uid 500); 11 Jan 2005 15:39:56 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 43599 invoked by uid 500); 11 Jan 2005 15:39:55 -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 43584 invoked by uid 99); 11 Jan 2005 15:39:55 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from gate.corvil.net (HELO corvil.com) (213.94.219.177) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 11 Jan 2005 07:39:55 -0800 Received: from [172.18.1.171] (angel.local.corvil.com [172.18.1.171]) by corvil.com (8.12.9/8.12.5) with ESMTP id j0BFdmwS015283 for ; Tue, 11 Jan 2005 15:39:49 GMT (envelope-from peterreilly@apache.org) Message-ID: <41E3F3A2.70700@apache.org> Date: Tue, 11 Jan 2005 15:41:22 +0000 From: Peter Reilly User-Agent: Mozilla Thunderbird 0.9 (X11/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Developers List Subject: Re: local properties References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Jose Alberto Fernandez wrote: >>From: Peter Reilly [mailto:peterreilly@apache.org] >> >> >> >>>Wouldn't mind having the two, and see what works best. :-) >>> >>> >>> >>> >>Sounds good, but is it possible to get a different name than "let" ? >> >> >> > >Hey, just propose a name for it. I am flexible... :-) > > > Stefan's suggestion of "defvar" or "define-property" is on the correct lines. Perhaps "defineproperty name='name'" to define a property name accessed by @{name} or ${@{name}} to get the value. and "localproperty name='name'" to define a local property accessed by name or ${name} to get the value. (the - in the orginal "local-property" suggestion will only work for typedefed tasks and not for nested elements discovered by Introspection). Peter >Jose Alberto > >--------------------------------------------------------------------- >To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org >For additional commands, e-mail: dev-help@ant.apache.org > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org