ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Conor MacNeill <co...@apache.org>
Subject Re: <checksum> and case
Date Wed, 18 May 2005 15:12:22 GMT


Steve Loughran wrote:
> 
> It looks like the case of the extension of the <checksum> task is that 
> of the algorithm used, even though that is case insensitive
> 
> MD5 -> .MD5
> SHA -> .SHA
> md5 -> .md5
> sha  -> .sha
> "" -> .MD5
> 
> I am not convinced this is the right thing to do. It'd be easy to use 
> checksum to have code that worked on windows, but not unix. Shouldnt we go
>     extension="."+algorithm.toLower(Locale.US);
> 

yeah, +1

Conor

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


Mime
View raw message