ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: project.replaceProperties()
Date Mon, 28 Sep 2009 15:42:07 GMT
On 2009-09-27, Raja Nagendra Kumar <Nagendra.Raja@tejasoft.com> wrote:

> In a custom task, when using replaceProperties() method is replacing the all
> the properties, including those does exist. For properties which does not
> exist, it replace them with null. Would it be possible to control not to
> touch upon those properties which does not exist.

I haven't tested this but I'm pretty sure replaceProperties("${foo}")
returns "${foo}" if there is no property named "foo", doesn't it?

Stefan

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


Mime
View raw message