Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 64586 invoked from network); 10 Jan 2005 21:18:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 10 Jan 2005 21:18:41 -0000 Received: (qmail 59189 invoked by uid 500); 10 Jan 2005 21:18:40 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 59128 invoked by uid 500); 10 Jan 2005 21:18:40 -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 59115 invoked by uid 99); 10 Jan 2005 21:18:40 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of antoine@gmx.de designates 213.165.64.20 as permitted sender) Received: from mail.gmx.de (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.28) with SMTP; Mon, 10 Jan 2005 13:18:38 -0800 Received: (qmail invoked by alias); 10 Jan 2005 21:18:34 -0000 Received: from p5080E2BC.dip0.t-ipconnect.de (EHLO [127.0.0.1]) (80.128.226.188) by mail.gmx.net (mp010) with SMTP; 10 Jan 2005 22:18:34 +0100 X-Authenticated: #22961642 Message-ID: <41E2F115.1070408@gmx.de> Date: Mon, 10 Jan 2005 22:18:13 +0100 From: Antoine Levy-Lambert User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Developers List Subject: Re: local properties References: <41E2C932.5010701@apache.org> In-Reply-To: <41E2C932.5010701@apache.org> X-Enigmail-Version: 0.89.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, my 2 cents, I like rather than (the latter reminds me of Visual Basic, oh shame). I also like it if the local property is thread safe, because this might be useful for some advanced ant users. Peter, I would like it if you try it in cvs. Cheers, Antoine Peter Reilly wrote: > Jose Alberto Fernandez wrote: > >> We left it nowhere. >> >> > Is true. > >> >> I still think my simple addition to will solve 90% >> of the use cases >> with very low impact across the code. But as anything, people will >> have to understand >> when to use it properly and so on. >> >> The patch is there in bugzilla, but I will not apply it unless there >> is some support for it >> (I have not have the need for local properties myself, so it is not a >> problem for me). >> >> As per other approaches to local properties, unless we go and define >> a real semantic >> for them (like any other well design programming language out there) >> I see they creating >> more problems than solutions, in particular in our BC constrained world. >> >> > I do not think that the problems are too bad (but I would say that!). > > I would like to have the thread-local property implementation, however > there was a lot of discussions about syntax. > > As the main use case for local properties is we > could just implement them for macrodefs, and if necessary > extend them later to be the free style properties. > > So the syntax would be: > > > > > > The length of file '@{filename}' is ${local-prop} > > > > > We could implement this as a trial in ant cvs and pull it if there are > too many issues. > > Peter > >> >> Jose Alberto >> >> ________________________________ >> >> From: Matt Benson [mailto:gudnabrsam@yahoo.com] >> Sent: Fri 07/01/2005 15:26 >> To: Ant Developers List >> Subject: local properties >> >> >> >> Does anyone recall where we left off on this >> discussion? I think we need these, what do we need >> to resolve to get them in? >> >> -Matt >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org