ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Landon <>
Subject How to use $ in a ANT property value
Date Sat, 05 Aug 2000 00:08:07 GMT

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

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

The helper.classes value becomes Helper1.class Helper2.class, which is not
The correct value must include the $1: it's a valid Java classfile name.
Java compiler
produces it, so it must be!

View raw message