ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sharma, Jaikumar" <jaikumar.sha...@gmail.com>
Subject RE: Is it possible to get a value of getter method from a Java class to build.xml ?
Date Fri, 26 Jan 2007 15:48:04 GMT
Thanks Dominique. I would adapt to setNewProperty.
Have a great day!

-----Original Message-----
From: Dominique Devienne [mailto:ddevienne@gmail.com] 
Sent: Friday, January 26, 2007 8:19 PM
To: Ant Developers List; ravi.aroy@gmail.com
Subject: Re: Is it possible to get a value of getter method from a Java
class to build.xml ?

> project.setProperty(property, propertyValue);

Prefer setNewProperty, as setProperty is deprecated, and breaks Ant's
property immutability rules. It's only kept around for
backward-compatibility. --DD

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


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


Mime
View raw message