Community
Participate
Working Groups
Build Identifier: 3.7M6 I20110310-1119 The jacoco library files (jacocoagent.jar and jacocoant.jar) in org.eclipse.test is version 0.5.0. The jacoco merge task has a bug that cannot handle empty trace data file when merging a collection of trace files. This bug is already fixed in jacoco 0.5.1 (jacoco-0.5.1.20110321224001.zip at http://www.eclemma.org/jacoco/) that I have verified. Please update jacoco to a newer version like 0.5.1 or any newer version in 3.7 M7. Reproducible: Always Steps to Reproduce: 1. Prepare an empty jacoco.exec data file - either by running jacoco agent on an eclipse test and crash the system which will generate an empty jacoco.exe; or by creating an empty file jacoco.exec; 2. Prepare a good jacoco.exec (a valid file) 3. Run jacoco merge ant task to merge the above generated jacoco.exec. The ant task reports a failure because one of the .exec files is empty.
We can't update to a newer version of JaCoco in the 3.7 release because the IP deadline for 3.7 has passed. (We have to request the use of third party libraries by a certain date so that the Eclipse foundation legal team can approve them in time for the Indigo release). Deferring to 3.8.
For book keeping, I think this can in effect be considered "done" by bug 369405 so will mark as a dup of 369405 (even though, not exactly a dup). Let me know if I've misunderstood. *** This bug has been marked as a duplicate of bug 369405 ***