Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

diff

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.

like image 695
Sunil Kumar Sahoo Avatar asked Feb 21 '11 10:02

Sunil Kumar Sahoo


People also ask

How can I compare two files for differences?

Right-click on the first file. Click on “Select for Compare” from the menu. Proceed to right-click on the second file. Click on “Compare with Selected.

How do I compare two projects in Visual Studio?

locate the required file in the Solution Explorer window, right-click it and choose Compare Selected File in the context menu; open the required file in Visual Studio, right-click the required document name in the document tab well and in the document's context menu select Compare Current File.

How can I compare two Android projects?

Select Android : app → Compare Directories select proper path for your files and done. In Android Studio Bumblebee : app → Compare With or Ctrl+D :) Show activity on this post.


1 Answers

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.

like image 142
kostja Avatar answered Oct 06 '22 14:10

kostja