ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <pe...@apache.org>
Subject Re: Number Primitive types
Date Sun, 14 Apr 2002 12:54:22 GMT
On Sun, 14 Apr 2002 22:44, Erik Hatcher wrote:
> Peter,
>
> I'm assuming you're referring to this:
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7264

thanks - thats it. I knew I had seen it somewhere ;)

> 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.

We could do that aswell ;) I guess that theres not much demand for binary 
representation of integers in tasks ;)


>
>     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).

-- 
Cheers,

Peter Donald


--
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