ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bui Dinh Chien" <Chie...@fsoft.com.vn>
Subject RE: Can I set value for a property from my own task?
Date Sat, 26 Jul 2003 10:14:39 GMT
Many thanks Antoine,
BTW, with your help now I can compile Ant and use it as plug-in in
Visual Age for Java correctly, but I can not use Ant from command line
to connect to VAJ through VAJ Remote API Tool. But that is enough for me
now, thank you so much

Chien

-----Original Message-----
From: Antoine Levy-Lambert [mailto:antoine@antbuild.com]
Sent: Saturday, July 26, 2003 4:44 PM
To: Ant Users List
Subject: Re: Can I set value for a property from my own task?


----- 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


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


Mime
View raw message