本文介绍了Clirr 的任何替代品(与旧版本的二进制和源代码兼容性)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们在我们的项目中使用 clirr(http://clirr.sourceforge.net) 但它看起来很过时.我试图寻找任何替代方案,但它们处于相同的位置:

We are using clirr(http://clirr.sourceforge.net) in our project but it looks very outdated.I've tried to search for any alternatives, but they are in the same position:

所以,我正在寻求社区帮助:你们如何解决检查源代码和二进制兼容性的问题?

So, I'm looking for community help: how are you solving a problem of checking source and binary compatibility?

推荐答案

你也可以试试japicmp,这是我最近在尝试执行相同任务时发现的一个整洁的项目.

You can also try japicmp, it's a neat project I found recently while trying to perform the same task.

它的用法非常简单,归根结底是将打包为 JAR 的库的两个版本传递给它...例如:

Its usage is pretty simple and it comes down to passing it two versions of your library packaged as JARs... for example:

java -jar japicmp-0.0.2.jar -n my-jar-new.jar -o my-jar-old.jar

它还具有允许您以编程方式使用它的 API.

It also has an API that allows you to use it programmatically.

该项目的 Github 页面 提供了有关如何开始的简单指南.

The project's Github page has a straightforward guide on how to get started.

此外,this SO answer 建议 jarc 作为替代

Also, this SO answer suggests jarc as an alternative

这篇关于Clirr 的任何替代品(与旧版本的二进制和源代码兼容性)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-17 19:35