ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ken Wood <kw...@i2.com>
Subject Re: Project.setProperty(String,String)?
Date Tue, 26 Jun 2001 13:42:10 GMT
Properties are immutable. You cannot change them.

Once you set them, they stay set, with
a few exceptions such as in <antcall>.

See the documentation.



Bram Smeets wrote:
> 
> I have created a TokenizerTask that tokenizes a string and calls a certain
> target for every token found.
> 
> My intention was to set a property that the tasks in the specified target
> can reference by ${property}.
> The problem is that when I set the property the first time, the task
> executes by referencing the property.
> The second time I set teh property, the task executes by referencing the old
> value!
> 
> Any explanation?
> Bram Smeets
> SmartHaven

Mime
View raw message