Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Structured compare of three file versions
Structured compare of three file versions [message #687924] Thu, 23 June 2011 10:20
Mikael Petterson is currently offline Mikael Petterson
Messages: 150
Registered: July 2009
Senior Member
Hi,

I am trying to do a threeway compare of java files in Eclipse ( merge.jpg)
ThreeWayCompareInput input = new ThreeWayCompareInput(config, myResource, baseVersion, toVersion, fromVersion);
CompareUI.openCompareEditor(input);


The ThreewayCompareInput class has the following method.
@Override
	protected Object prepareInput(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {
		return new DiffNode(Differencer.CHANGE, baseElement, leftElement, rightElement);
	}


But when the CompareView opens it shows only leftElement and rightElement. No error message in .log.

Any ideas why ancestor is not showing?

//mike

[Updated on: Mon, 27 June 2011 08:14]

Report message to a moderator

Previous Topic:installing new software in background
Next Topic:Eclipse  Java EE IDE
Goto Forum:
  


Current Time: Fri Aug 01 01:49:34 EDT 2014

Powered by FUDForum. Page generated in 0.01996 seconds