| Summary: | "emma" command fails for Java 1.7 code | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Bernard Sarter <bernard.sarter> | ||||
| Component: | Buckminster | Assignee: | buckminster.core-inbox <buckminster.core-inbox> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | achim.demelt, david_williams, thomas | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows Vista | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Bernard Sarter
Created attachment 209226 [details]
Quick & dirty fix ...
The enclosed "emma.java" file is a quick-incomplete-and-dirty workaround for this bug; The file (part of org.eclipse.buckminster.emma) can be compiled and used with following plugins:
- com.mountainminds.eclemma.core_2.0.1.201112281951.jar
- org.jacoco.agent_0.5.5.201112152213.jar
- org.jacoco.core_0.5.5.201112152213.jar
- org.jacoco.report_0.5.5.201112152213.jar
I could test the result and it works fine (but the 'merge' command is no longer available.
Note: with this configuration, a report generated by buckminster with the --emma command can be imported inside sonar (sonar.dynamicAnalysis=reuseReports & sonar.jacoco.reportPath={file produced by buckminster}), which is quite nice ;-)
HTH,
Bernard.
Due to license restrictions and an expanding graph of dependencies that needs clearance from eclipse EMO, I decided to move the emma feature from our Eclipse download site to our external site at: http://download.cloudsmith.com/buckminster/external-4.2 This move made it possible to upgrade to eclemma 2.2.0. It uses the jacoco agent, core, and report. There are some changes to the output formats in Emma. The formats 'emma' and 'txt' are no longer supported and the new formats 'exec', 'htmlzip', 'csv' has been introduced. The full set is now: csv exec html htmlzip xml Ok, I could install and test your new version from http://download.cloudsmith.com/buckminster/external-4.2, everything is fine. Note: I'm not so familiar with Eclipse Bugzilla workflow: who will mark this issue as Closed ? (shall I do it ?) Thanks a lot, Bernard. |