ant-dev mailing list archives

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

I'm assuming you're referring to this:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7264

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.

    Erik


----- Original Message -----
From: "Peter Donald" <peter@apache.org>
To: <ant-dev@jakarta.apache.org>
Sent: Sunday, April 14, 2002 5:06 AM
Subject: Number Primitive types


Hi,

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
would
be into that (Its the same rules that myrmidon uses aswell).


--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>




--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message