Usage of Eclipse Compare-Functionality

Registered by Vitaliy Kulikov on 2010-06-17

SVN and CVS -Integration of Eclipse use the internal compare-component of eclipse which can be customized in the eclipse property dialog. The main advantage of the compare-dialog is, that it use the structure of a java file to compare. So you see directly which functions has changed, which are new. As far as I know you can use the compare-plugin just by giving it 2 file-objects. Sounds simple to implement, but to be honest I never implement eclipse plugins.

So how can you get an impression of this functionality?
Start your Eclispe. Open CVS-Perspective: Right mouse-click new Repository Location
Host jodreports.cvs.sourceforge.net
Repository Path: /cvsroot/jodreports
User anonymous
HEAD -> jooreports2 Right mouse-click and Check-out
Now you have a new Java-Projekt
Choose /jooreports2/src/net/sf/jooreports/templates/AbstractDocumentTemplate.java
Right mouse-click Team -> Show History.

Now in the history choose Revision 1.13 and again Right mouse-click: Compare current with 1.13.

Then you can see what I mean. Would be great if this will become possible in a future version.

If you want to get an screenshot I can send it to you directly.

Regards
Niels

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
niels
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.