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 14:20
Mikael Petterson is currently offline Mikael Petterson
Messages: 152
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 12:14]

Report message to a moderator

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


Current Time: Sun Oct 26 07:50:11 GMT 2014

Powered by FUDForum. Page generated in 0.01559 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software