You da man Bri! Works perfectly. Thanks!@
(now why didn't I think of trying that!!)
>>> [EMAIL PROTECTED] 03/04/02 03:47PM >>>
In general, $$ means translates to a single $ which will not be
interpreted
as the possible start of a property, so use:
<echo message="$${theproperty}" />
brian peterson
[EMAIL PROTECTED]
| -----Original Message-----
| From: Jeffrey Jensen [mailto:[EMAIL PROTECTED]]
| Sent: Monday, March 04, 2002 3:42 PM
| To: [EMAIL PROTECTED]
| Subject: How to use literal property access string?
|
|
| Hi,
|
| There is a situation where I want to use "${property.name}" instead
of
| the value it stands for. How do I tell Ant to not interpret it?
|
| For example, I want
| <property name="theproperty" value="thevalue" />
| <echo message="${theproperty}" />
| to say ${theproperty} instead of "thevalue".
|
| This works when the property was never set. I understand that
| "unsetting" a property is a feature that Ant does not have.
|
| I know that a <param> in an <antcall> overrides a property of the
same
| name, but I don't think there is a magic value to set it to for the
| called target to think it is not set.
|
| I know that using inheritAll="false" on <antcall> does exactly what
I
| want, except for all properties.
|
| Is there an "escape code" or other such thing to specify a literal
| string vs interpreting it?
|
| --
| To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>