ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject <checksum> and case
Date Wed, 18 May 2005 14:46:48 GMT

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

-steve

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


Mime
View raw message