任何替代Clirr(与旧版本的二进制和源代码兼容)? [英] Any alternatives to Clirr (binary and source compatibility with older releases)?

查看:275
本文介绍了任何替代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:

  • JDiff(http://jdiff.sourceforge.net)
  • Jar Compare(http://extradata.com/products/jarc/)

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

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.

它的用法是pretty简单,它归结到它传递库的两个版本打包为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.

此外,这SO回答提出的 JARC 作为替代

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

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆