ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@ebinteractive.com.au>
Subject RE: Property values with '$' in them?
Date Wed, 11 Oct 2000 22:47:03 GMT
> -----Original Message-----
> From: Skip Hovsmith [mailto:skip@maplerise.com]
> Sent: Thursday, 12 October 2000 9:36
> To: ant-user@jakarta.apache.org
> Subject: Property values with '$' in them?
>
>
> Hi all, I'm trying to set the value of a property to something that has a
> '$' in it. For example:
>
>   <property name="args" value="com.maplerise.MyClass$Test"/>
>
> This doesn't get me what I wanted; it sets the value to
> "com.maplerise.MyClassTest" instead.
> So I naively tried:
>
>   <property name="args" value="com.maplerise.MyClass$$Test"/>
>
> which worked but seemed like a hack on my part.
>
> Is there an officially proper way to set a '$' in a property value?
>

Yes, and you found it. Its undocumented, but I guess that it must be
somewhat intuitive based on your experience.

Conor


Mime
View raw message