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 41778 invoked from network); 29 Jan 2000 15:42:32 -0000 Received: from pop.systemy.it (194.20.140.28) by 63.211.145.10 with SMTP; 29 Jan 2000 15:42:32 -0000 Received: from apache.org (pv28-pri.systemy.it [194.21.255.28]) by pop.systemy.it (8.8.8/8.8.3) with ESMTP id QAA26478 for ; Sat, 29 Jan 2000 16:32:04 +0100 Message-ID: <3892FF48.4B6EB8E8@apache.org> Date: Sat, 29 Jan 2000 15:55:04 +0100 From: Stefano Mazzocchi Organization: Apache Software Foundation X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en,it MIME-Version: 1.0 To: ant-dev@jakarta.apache.org Subject: Re: Properties in Ant References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit costin@eng.sun.com wrote: > > > I propose to remove the "init" task done automatically and let the user > > indicate what task should be done with dependencies. > > > > So, you decide where to put the properties and when they are set. > > No, it will not work - properties are replaced at parse time, it was a > hack (usefull I think). You can have run-time effect only if _every_ task > is modified to do a replace() on it's attributes before execute. ( that > was the reason the replace is now at parse time). No, you got me wrong. I totally agree with this "hack" (which I consider a great feature)... I was saying you could do something like and forget about init alltogheter. Stefano.