ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <>
Subject Number Conversion
Date Sat, 20 Jul 2002 05:27:40 GMT

I would like to add a rule when we convert strings to attributes. This rule 

Hexadecimal numbers begin with 0x, Octal numbers begin with 0o and binary
numbers begin with 0b, all other values are assumed to be decimal.

It is backwards compatible (as it would be invalid to include 'x', 'o' or 'b' 
in number in previous versions of ant. 

This rule would apply to all numerics (int, short, byte, long etc).

Any problesm with this?


Peter Donald
|  If you turn on the light quickly enough,   |
|    you can see what the dark looks like.    |

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message