ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pawanraj Sadhwani" <pawan...@elitecore.com>
Subject RE: question about resetting <property>
Date Thu, 22 Apr 2004 07:32:38 GMT
ant properties are readonly.. once set.. they cannot be changed

-----Original Message-----
From: Baz [mailto:barry@goodconsultants.com]
Sent: Thursday, April 22, 2004 12:59 PM
To: Ant Users List
Subject: question about resetting <property>


All,

I have a silly question... How can i reset the property value? For example,

<property name="test1.home" value="1"/>
<echo message="test1.home is ${test1.home}"/>
<property name="test1.home" value="2"/>
<echo message="test1.home is ${test1.home}"/>

The output will be 1, and 1. Why? How can i reset the property?

Thanks

Barry


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