如何获得两个项目之间的源代码差异 [英] How to get source code difference between two projects

查看:455
本文介绍了如何获得两个项目之间的源代码差异的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了两个java项目,它们都有一些共同的包结构,并且具有相同的类。我想比较这两个项目并得到每个差异。

I have created two java projects both have some common package structure and also same class. I want to compare these two projects and get each difference. Is there any software to get difference between two projects.

推荐答案

对于Windows,最好的选择是BeyondCompare 。如果您希望免费使用-请使用 WinMerge 。在Unix下,最好的选择是 Meld ,它是用python编写的,因此也是这三个中唯一的跨平台替代方案。 >
所有这些工具都支持2向文件夹比较,这似乎是您需要的。

For windows, the best choice is BeyondCompare. If you want it free - take WinMerge. Under Unix, the best choice is Meld which is written in python, thus being also the only cross-platform alternative of the three.

All these tools support 2-way folder comparison which is what you seem to need here.

这篇关于如何获得两个项目之间的源代码差异的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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