开发者

How to get source code difference between two projects [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 10 years ago. 开发者_如何学Go

The community reviewed whether to reopen this question 11 months ago and left it closed:

Not suitable for this site We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

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.


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.


Another option is to use a source code control system like subversion or git or bazaar or mercurial.


There's BeyondCompare. It's not free, but it is very good


Have you ever used WinMerge? you can use it to compare two folders and it will show you the differences between them.

WinMerge


The interface is definitely dated, but I love xxdiff for showing complex diffs and merge conflicts. Superb tool.

If you'd like to know what the differences are going forward, you might want to place both versions under a version control system like git, which can make finding differences (and moving changed code) very easy. But I'd have to want to do the same task again tomorrow to go this extra step. :)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜