Return-Path: Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 59522 invoked from network); 28 Feb 2000 21:18:44 -0000 Received: from e22.nc.us.ibm.com (32.97.136.228) by locus.apache.org with SMTP; 28 Feb 2000 21:18:44 -0000 Received: from southrelay02.raleigh.ibm.com (southrelay02.raleigh.ibm.com [9.37.3.209]) by e22.nc.us.ibm.com (8.9.3/8.9.3) with ESMTP id QAA28954 for ; Mon, 28 Feb 2000 16:01:19 -0600 From: rubys@us.ibm.com Received: from d54mta04.raleigh.ibm.com (d54mta04.raleigh.ibm.com [9.67.228.36]) by southrelay02.raleigh.ibm.com (8.8.8m2/NCO v2.06) with SMTP id QAA40990 for ; Mon, 28 Feb 2000 16:18:24 -0500 Received: by d54mta04.raleigh.ibm.com(Lotus SMTP MTA v4.6.5 (863.2 5-20-1999)) id 85256893.0075106D ; Mon, 28 Feb 2000 16:18:39 -0500 X-Lotus-FromDomain: IBMUS To: ant-dev@jakarta.apache.org Message-ID: <85256893.0074FC4B.00@d54mta04.raleigh.ibm.com> Date: Mon, 28 Feb 2000 16:13:09 -0500 Subject: Re: ANT semantics and power Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Costin wrote: > > Wrong use of property and ant. You use it as a programming language, it's > not a variable, property is used to define constants. Since it's a > constant it can be set anytime.( and must be set before anything else is > executed ) If properties are intended to be constants, then properties should not be tasks, nor should their definitions be allowed to be nested inside of targets. If this is the case, then I'll go back and undo my changes of this morning to the various build.xml files and add logic to Ant to enforce this. Similar arguments could be made for Available, Filter, and Tstamp. Alternatively, I gather that the collective expectations are that properties *are* in fact a task, and this implies that their values will change at runtime. - Sam Ruby