<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.32.2">
</HEAD>
<BODY>
All IJ jars were affected.<BR>
I suspect it's the issue described here: <A HREF="http://www.coderanch.com/t/275390/Streams/java/ZipException-invalid-entry-compressed-size">http://www.coderanch.com/t/275390/Streams/java/ZipException-invalid-entry-compressed-size</A><BR>
in which case it's caused by certain way of coding the zip manipulation.<BR>
<BR>
I got over this by unzipping and zipping IronJacamar jars.<BR>
JaCoCo was not affected in the end, I only left garbage in place of the zips (after playing with re-zipping).<BR>
<BR>
Ondra<BR>
<BR>
<BR>
<BR>
On Mon, 2012-01-16 at 13:17 +0100, Max Rydahl Andersen wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
Is it the same error for jacoco?
/max
On Jan 16, 2012, at 07:01, Lin Gao wrote:
>
> On 01/13/2012 07:20 AM, Ondrej Zizka wrote:
>> Hi all,
>>
>> when I use various tools to manipulate AS jars, this happens with IronJacamar jars:
>>
>> Caused by: java.util.zip.ZipException: invalid entry compressed size (expected 576 but got 577 bytes)
>> at java.util.zip.ZipOutputStream.closeEntry(ZipOutputStream.java:206)
>> at com.vladium.emma.instr.InstrProcessorST.writeZipEntry(InstrProcessorST.java:838)
>> at com.vladium.emma.instr.InstrProcessorST$EntryWriteJob.run(InstrProcessorST.java:905)
>> at com.vladium.emma.instr.InstrProcessorST.drainJobQueue(InstrProcessorST.java:943)
>> at com.vladium.emma.instr.InstrProcessorST.handleArchiveEnd(InstrProcessorST.java:353)
>> ... 5 more
>>
>> How are they packaged? Some special buggy tool?
>>
>> It prevents me from preparing coverage reports, both Emma and JaCoco are affected.
>
> Ironjacamar using ant + ivy as building tool, there is no special in the "<jar" task.
>
> Does all IronJacamar jars have this problem? Would you please ignore all IronJacamar jars for now to see whether your tool can pass?
> BR
> Lin Gao
>
>>
>> Thanks,
>> Ondra
>>
>> _______________________________________________
>> jboss-as7-dev mailing list
>>
>> <A HREF="mailto:jboss-as7-dev@lists.jboss.org">jboss-as7-dev@lists.jboss.org</A>
>> <A HREF="https://lists.jboss.org/mailman/listinfo/jboss-as7-dev">https://lists.jboss.org/mailman/listinfo/jboss-as7-dev</A>
> _______________________________________________
> jboss-as7-dev mailing list
> <A HREF="mailto:jboss-as7-dev@lists.jboss.org">jboss-as7-dev@lists.jboss.org</A>
> <A HREF="https://lists.jboss.org/mailman/listinfo/jboss-as7-dev">https://lists.jboss.org/mailman/listinfo/jboss-as7-dev</A>
/max
<A HREF="http://about.me/maxandersen">http://about.me/maxandersen</A>
_______________________________________________
jboss-as7-dev mailing list
<A HREF="mailto:jboss-as7-dev@lists.jboss.org">jboss-as7-dev@lists.jboss.org</A>
<A HREF="https://lists.jboss.org/mailman/listinfo/jboss-as7-dev">https://lists.jboss.org/mailman/listinfo/jboss-as7-dev</A>
</PRE>
</BLOCKQUOTE>
<BR>
</BODY>
</HTML>