ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: literal value inside ant task?
Date Tue, 08 Oct 2002 08:56:00 GMT
On Tue, 8 Oct 2002, Janusz Dalecki <jdalecki@tycoint.com> wrote:

> I would like to use in ant task literal value like ${buildno} but
> when I use this (in any task) it gets replaced by the value of the
> property ‘buildno’.  How can I tell ant task to treat that value as
> a literal only?

Escape the $ by another $ - i.e. $${buildno}.

Stefan

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


Mime
View raw message