ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Janusz Dalecki \(TYCO\)" <jdale...@tycoint.com>
Subject RE: literal value inside ant task?
Date Tue, 08 Oct 2002 22:43:08 GMT
Stefan,
Is the $ escaping character (as in $${buildno}) a Ant specific?
JD

-----Original Message-----
From: Stefan Bodewig [mailto:bodewig@apache.org]
Sent: Tuesday, 8 October 2002 6:56 PM
To: ant-user@jakarta.apache.org
Subject: Re: literal value inside ant task?


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>


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