[jboss-jira] [JBoss JIRA] (JBJCA-730) Problem with IronJacamar .jar's
Ondrej Zizka (JIRA)
jira-events at lists.jboss.org
Fri Jan 13 15:24:21 EST 2012
[ https://issues.jboss.org/browse/JBJCA-730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12659379#comment-12659379 ]
Ondrej Zizka commented on JBJCA-730:
------------------------------------
Re-zipping helped:
{code:bash}
for i in `find -name ironjacamar-*.jar`; do
mkdir tmp-unzip
unzip $i -d tmp-unzip;
mv $i $i.orig
cd tmp-unzip
zip -r ../$i . #-new.jar .
cd -
rm -rf tmp-unzip
done
{code}
> Problem with IronJacamar .jar's
> -------------------------------
>
> Key: JBJCA-730
> URL: https://issues.jboss.org/browse/JBJCA-730
> Project: IronJacamar
> Issue Type: Bug
> Components: Build
> Affects Versions: 1.1.0.Alpha4
> Environment: Linux, Java Sun 1.6.26 x64
> Reporter: Ondrej Zizka
> Assignee: Jesper Pedersen
> Attachments: Emma-ZipException-Jacamar.txt
>
>
> 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.
> STR:
> 1) Checkout and build AS7 master
> 2) wget --no-check-certificate https://repository.jboss.org/nexus/content/groups/developer/emma/emma/2.1.5320/emma-2.1.5320.jar -O emma.jar
> 3)
> {code:bash}
> for i in `find $AS_DIR/modules/org/jboss/ -name '*.jar'`; do
> echo "============ $i"
> java -cp emma.jar emma instr -outmode overwrite -merge yes -instrpath $i;
> done
> {code}
> Only IronJacamar jars cause problems, others are fine.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list