Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 72479 invoked from network); 20 Oct 2004 16:47:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 20 Oct 2004 16:47:50 -0000 Received: (qmail 43221 invoked by uid 500); 20 Oct 2004 16:47:48 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 43125 invoked by uid 500); 20 Oct 2004 16:47:47 -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 43110 invoked by uid 99); 20 Oct 2004 16:47:47 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [134.132.72.99] (HELO junior.lgc.com) (134.132.72.99) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 20 Oct 2004 09:47:45 -0700 Received: from lgchvw02.lgc.com (lgchvw02.lgc.com [134.132.93.108]) by junior.lgc.com (8.11.7/8.11.3) with SMTP id i9KGlgi11984 for ; Wed, 20 Oct 2004 11:47:42 -0500 (CDT) Received: from 134.132.72.99 by lgchvw02.lgc.com (InterScan E-Mail VirusWall NT); Wed, 20 Oct 2004 11:47:38 -0500 Received: from HOUEXCH903.landmark.lgc.com (houexch903 [134.132.167.43]) by junior.lgc.com (8.11.7/8.11.3) with ESMTP id i9KGlaR11961 for ; Wed, 20 Oct 2004 11:47:36 -0500 (CDT) Received: from HOUEXCH902.landmark.lgc.com ([134.132.167.38]) by HOUEXCH903.landmark.lgc.com with Microsoft SMTPSVC(6.0.3790.211); Wed, 20 Oct 2004 11:47:33 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: local properties Date: Wed, 20 Oct 2004 11:47:32 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: local properties Thread-Index: AcS2o6h/eVD21sOhTyqCtmaJYb2bCAAFE4hgAAGUeHAAAPub4A== From: "Dominique Devienne" To: "Ant Developers List" X-OriginalArrivalTime: 20 Oct 2004 16:47:33.0928 (UTC) FILETIME=[7F541A80:01C4B6C4] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > From: Jose Alberto Fernandez [mailto:jalberto@cellectivity.com] > > From: Dominique Devienne [mailto:DDevienne@lgc.com] > > > From: Stefan Bodewig [mailto:bodewig@apache.org] > > 1) I don't like the name. Perhaps it shows how ignorant I am > > about other languages not in the C family, but it doesn't speak > > to me, and the name to not convey the purpose. Thus I'm -1 to > > the name. or or else are not perfect, but > > at least convey more meaning to my ignorant self. >=20 > :-(. comes from mathematics. Maybe in your part of the world... > That is the reason for using , it is also used in some functonal > languages. I though so. I'm still -1, or at best -0 if I hear more convincing arguments. > The scope, is the scope of the attribute notation (i.e., the macrodef). > Now you can use this name to create a new property, using > or to watever else you please, there are no expectation whatsoever. I'm not following. I think I understand what a scope is. I don't confuse scope for the notation to define explicitly what should 'go out of scope' when the explicit scope ends. I consider running a as starting/entering a new scope for names, doing something, then ending/leaving the scope, restoring shadowed properties and removing local properties, as defined by the propertyset. > And I have mentioned several times that one could use propertysets > to stop things leaking through and such. But you are still > thinking only on properties. There are other things that we create > dynamically in ANT. Like references, scripts, etc. Not at all. I'm thinking properties and references. What else is there? Scripts are scripts, id'd or not. That's still references. > The main hurdle is that ANT uses a flat namespace for things and > that anypart can see any property/reference defined by any other part at > any time on the life of the project. So? As Peter points out, a flat namespace doesn't mean it cannot be implemented using a stack of maps per scope, similar the nesting of Properties when you provide a default. It's still flat, but uses nested Properties to provide correct compartimentation. This is how should have been implemented instead of the copy going on right now. > I know they are very old concepts here, but just as old are the data > structures we used in ANT. And on top, the fact that something does not > exist is meaningful (i.e., unless) I do not see how you can reconcile > all this things. Maybe this should be done as part of ANT 2.0 (joke). > And forget about BC, Sorry, but I still don't see why it can't be made BC... The Project API has to be unchanged of course, but the actual impl should move to a lighter weight Context object or something that would be stacked correctly, and to which Project would delegate to. Dealing with would be tricky, but I think we *should* break BC by not allowing the different 'threads' of a to share properties, at least unless explicitly requested. But that's going into too much detail for now. --DD --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org