ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Barrie Treloar <Barrie.Trel...@camtech.com.au>
Subject Re: How to use $ in a ANT property value
Date Sat, 05 Aug 2000 09:53:41 GMT
On Fri, 4 Aug 2000, Richard Landon wrote:


> How do you avoid ANT evaluation of the $ character within a macro as in:

Use $$ instead.  This should be in the documentation but it is not.

e.g:
<property name="helper.classes" value="Helper$$1.class:Helper$$2.classs"/>

<target name="tryme">
<echo message="${helper.classes}"/>
</target>

Barrie
--
Barrie Treloar
____________________________________________________________________

  Barrie Treloar                      Phone: +61 8 8303 3300
  Senior Analyst/Programmer           Fax:   +61 8 8303 4403 
  Electronic Commerce Division        Email: barrie@camtech.com.au
  Camtech (SA) Pty Ltd                http://www.camtech.com.au
 --- Level 8, 10 Pulteney Street, Adelaide SA 5000, Australia. ---
____________________________________________________________________



Mime
View raw message