On 2011-10-17, Gary Gregory wrote:

> On Mon, Oct 17, 2011 at 10:16 AM, Stefan Bodewig <bode...@apache.org> wrote:

>> On 2011-10-11, Gary Gregory wrote:

>>> On Tue, Oct 11, 2011 at 11:21 AM, Stefan Bodewig <bode...@apache.org>
>> wrote:

>>>> On 2011-10-11, Gary Gregory wrote:

>>>>> On Tue, Oct 11, 2011 at 10:20 AM, Stefan Bodewig <bode...@apache.org>
>>>> wrote:

>>>>>> One thing that we may or may not want to address are the
>>>>>> integration tests for Zip64 which are currently only run when the
>>>>>> run-it profile is enabled.  These tests need some zips generated
>>>>>> by other tools that are currently not part of svn and we
>>>>>> discussed publishing them as separate artifacts - personally I
>>>>>> wouldn't even know where to start for this.

[...]

>> The individual files are between 4.5MB and 15MB each.  We are talking
>> about the ZIPs in
>> <http://people.apache.org/~bodewig/commons-compress/> and five of
>> those attached to
>> <https://issues.apache.org/jira/browse/COMPRESS-36>.  Not exactly
>> huge but too big to have them i trunk IMHO.

>>> (2) That leaves some place that the build can handle downloading and
>>> caching automatically, which is what Maven and Ivy are good at
>>> doing.

>> I created
>> <http://svn.apache.org/repos/asf/commons/proper/compress/test-resources/>
>> which holds the POM for such a test-resources artifact.  I copied the
>> eleven archives used during the tests into src/main/resources and ran
>> "mvn package" and something surprising happened.  The resulting jar is
>> 5MB in size.  I.e. we have one of the very rare cases where compressing
>> a ZIP with ZIP reduces the archive size considerably because it still
>> contains lots of redundant data.

>> How do I proceed?  Upload the jar and pom to Nexus (pgp signed, of
>> course) and call for a vote?

> I thought we were talking about gigs here.

About 100 MB if I leave the eleven zips as individual files.  Better
don't try to do a svn checkout over a slow line then.

But coming to think of it, there is no reason to keep the individual
files if a single ZIP of 5MB can hold them, I'd just need to figure out
how to uncompress this at build time - which I'd have to do for the
"test resources in Maven central" approach as well.

> For me, a couple of megs is fine in SVN.

So unless anybody objects I'm going to add a ZIP holding the ZIPs to
svn (or a bzip2 compressed tar or whatever looks best).

Stefan

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

Reply via email to