commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schaible <joerg.schai...@scalaris.com>
Subject Re: [compress] Where to Place Big Test Archives?
Date Wed, 27 Jul 2011 07:31:34 GMT
Hi Stefan,

Stefan Bodewig wrote:

> On 2011-07-26, Ted Dunning wrote:
>> On Tue, Jul 26, 2011 at 5:31 AM, Stefan Bodewig <bodewig@apache.org>
>> wrote:
> 
>>>> Perhaps the large test files could be generated on the fly if absent
>>>> in the user's temp directory?
> 
>>> This would require 5 GB of disk space in temp and a working ZIP64
>>> implementation to create the archives.  Disk space is likely not that
>>> big a problem anymore, but still it seems excessive.
> 
>> Generating these files is an excellent test in itself.  Just generate
>> them
>> and check the md5 to verify they are correct.  Then use them.
> 
> Oh, absolutely, no question.
> 
> But (1) we are not there, yet (ZipArchiveInpuStream can read ZIP64 - did
> I say that? - but we have no way to write them, yet) and (2) it will not
> be sufficient.  Compress really is a jungle of dialects for almost all
> supported formats and we need to do interop tests.
> 
> An archive created by InfoZIP is different from one created by PKZIP
> which is different from Windows Compressed folders ... you get the idea.
> If Compress' output matched that of InfoZIP it still wouldn't show that
> we are able to read PKZIP created archives.
> 
> In the end I expect our corpus of test archives to grow as interop
> problems are discovered.

Different approach: Create out of them separate Maven artifacts.

- Jörg


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


Mime
View raw message