ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <>
Subject Re: Number Primitive types
Date Sun, 14 Apr 2002 12:44:25 GMT

I'm assuming you're referring to this:

Why don't we just add a class similar to the Hex class that I posted there,
and just let Integer.decode take care of conversions? For Ant 1.x, that is.


----- Original Message -----
From: "Peter Donald" <>
To: <>
Sent: Sunday, April 14, 2002 5:06 AM
Subject: Number Primitive types


A few days/hours ago someone mentioned about extending the type system to
allow logs/integers/shorts/bytes to use extra rules when converting. Ie use
the following rule

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

So basically in the configurer you apply these extra rules ??? Anyways I
be into that (Its the same rules that myrmidon uses aswell).

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

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

View raw message