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 Thu, 18 Apr 2002 18:49:29 GMT
Do we really want extra rules besides what Integer.decode allows?  My vote
is to allow anything that Integer.decode can deal with and leave it at
that.... it can deal with hexadecimal, decimal, and octal.  If you want
binary, then just figure out the hex or octal for it and use that instead!
:)

FlexInteger?  Or does anyone have a better name for it?

    Erik


----- Original Message -----
From: "Stefan Bodewig" <bodewig@apache.org>
To: <ant-dev@jakarta.apache.org>
Sent: Monday, April 15, 2002 3:38 AM
Subject: Re: Number Primitive types


> On Sun, 14 Apr 2002, Peter Donald <peter@apache.org> wrote:
>
> > So basically in the configurer you apply these extra rules ???
>
> Humm, there is a very small possibility of breaking builds with this
> (i.e. people using 010 to mean 10 instead of 8 in their build files).
>
> I'd rather add a new class that performs integer conversions along the
> rules you describe and goes further than Erik's Hex class.  Then
> people who want the magic use setters with the new class rather than
> an int/Integer argument.
>
> Stefan
>
> --
> 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