ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <stef...@apache.org>
Subject Re: Properties in Ant
Date Sat, 29 Jan 2000 14:55:04 GMT
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

 <target....>
  <tstamp...>
  <javac...>
 </target>

and forget about init alltogheter.

Stefano.



Mime
View raw message