科贝尔图拉Java 7 支持

发布于 2024-12-16 02:31:11 字数 375 浏览 2 评论 0原文

cobertura 何时支持 java 7 有什么想法吗?

找到http://sourceforge.net/tracker/index.php?func=detail&aid=3295711&group_id=130558&atid=720018

我们更喜欢 cobertura 而不是 emma 和其他代码覆盖率工具,看起来我们必须再次重做所有这些,因为它们都不支持 java 7。

谢谢

Any ideas when cobertura will support java 7?

Found http://sourceforge.net/tracker/index.php?func=detail&aid=3295711&group_id=130558&atid=720018

We preferred cobertura over emma and other code coverage tools and looks like we have to redo all those again, now that none of them support java 7 yet.

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

二智少女 2024-12-23 02:31:11

Cobertura 2.0.3支持Java 7,使用该版本的cobertura-maven-plugin 2.6版本刚刚发布

Cobertura 2.0.3 supports Java 7, the cobertura-maven-plugin version 2.6 which uses this version has been just released

幽蝶幻影 2024-12-23 02:31:11

我可以通过添加以下参数来使其工作:

-XX:-UseSplitVerifier

我从这里得到它。

I was able to get it to work by adding the following argument:

-XX:-UseSplitVerifier

I got it from here.

月下伊人醉 2024-12-23 02:31:11

我想答案是:不会。 邮件列表中有讨论 该项目没有得到维护,并且有 已开放一年的 Java 7 bug 。从好的方面来说,JaCoCo 功能具有可比性并且正在积极维护。

I think the answer is: it won't. There is discussion on the mailing list that the project is not being maintained, and there are Java 7 bugs that have been open for a year. On the bright side, JaCoCo functionality is comparable and is being actively maintained.

十六岁半 2024-12-23 02:31:11

根据 Jagger 的评论,看起来现在正在积极致力于下一个版本 - 请参阅:

https://github.com/cobertura/cobertura/commit/b303fdc94851088a3c8699651770faef33180924

并添加评论“修复 java 7 堆栈映射问题”。

Further to Jagger's comment, it looks like this is now being actively worked on for the next release - see:

https://github.com/cobertura/cobertura/commit/b303fdc94851088a3c8699651770faef33180924

with the comment "Fix java 7 stack map issue".

风情万种。 2024-12-23 02:31:11

老线程,但我的答案可能有用:Cobertura 确实支持最新的 Java 版本并且得到积极维护。 eCobertura(Cobertura 的 Eclipse 插件)自 2010 年以来就没有得到维护,但 Cobertura 本身仍然得到维护。

eCobertura 不会与 Java 7 或更高版本一起运行,但 Cobertura 可以。

如果您正在寻找覆盖率报告(例如 eCobertura 过去提供的报告),只需使用 mvn cobertura:cobertura 并检查 target/site/cobertura/index.html 下的 HTML 报告

Old thread, but my answer may be useful: Cobertura does support the latest Java versions and is actively maintained. eCobertura (the Eclipse plug-in for Cobertura) hasn't been maintained since 2010, but Cobertura itself is still maintained.

eCobertura will not run with Java 7 or higher, but Cobertura will.

If you are looking for coverage reports (suc h as the ones that eCobertura used to provide), just run the Cobertura maven plugin with mvn cobertura:cobertura and check the HTML report under target/site/cobertura/index.html

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文