Return-Path: Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 62905 invoked from network); 5 Oct 2000 11:00:29 -0000 Received: from firewall1.lehman.com (@192.147.65.82) by locus.apache.org with SMTP; 5 Oct 2000 11:00:29 -0000 Received: from relay4.lehman.com (relay4.lehman.com [146.127.49.124]) by firewall1.lehman.com (8.11.0/8.11.0) with ESMTP id e95B0JL19591 for ; Thu, 5 Oct 2000 07:00:20 -0400 (EDT) Received: from lonmailhost.lehman.com by relay4.lehman.com (8.9.3/8.8.5) id HAA05054; Thu, 5 Oct 2000 07:00:14 -0400 (EDT) Message-ID: <2BBB61F98137D211A7C900805FB7568706F9D350@exlon04.lehman.com> From: "Taylor, Jeremy" To: "'ant-user@jakarta.apache.org'" Subject: RE: Dynamic binding of properties Date: Thu, 5 Oct 2000 12:00:04 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N May I suggest 3 scopes; target, file and project? Where project is the default scope and; - target is valid only within the current target - file is valid only within the current file ... i.e. not propogated to called scripts - project is valid in the current project and all sub-projects > -----Original Message----- > From: Michael Stanley [SMTP:mstanley@twcny.rr.com] > Sent: 05 October 2000 09:20 > To: ant-user@jakarta.apache.org > Subject: RE: Dynamic binding of properties > > > > One thought is to associate a priority value with > > > each property and only allow it to be changed at the same or higher > > > priority. That introduces mutability with precedence. > > Personally I think it > > > is the way to go. > > This is a good idea but is it the best idea? Its apparent that Ant is > slowly evolving into its own little programming language with global > variables, methods, etc. Maybe a better idea would be the introduction of > target / project scope. Final, static, instance vars, and even > parameters. > It just seems like this method (although more difficult) will lead itself > to > easier and more fluent evolution of Ant in the long run. > > My 2 Cents, > Mike