ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <anto...@antbuild.com>
Subject Re: Can I set value for a property from my own task?
Date Sat, 26 Jul 2003 09:43:36 GMT
----- Original Message -----
From: "Bui Dinh Chien" <ChienBD@fsoft.com.vn>
Sent: Saturday, July 26, 2003 7:27 AM



>Now I want to use a property that can store many values and can be set
>value from my own task? How I can do?

getProject().setProperty(name, value) is able to overwrite a preexisting
property value, or to create the property if it did not exist before.

getProject().setNewProperty(name, value) will create an unexisting property,
and will not change an existing property.

Cheers,

Antoine


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message