Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » accessing compare apis without plugin infrastructure
accessing compare apis without plugin infrastructure [message #528764] Wed, 21 April 2010 16:59
Gemon  is currently offline Gemon Friend
Messages: 5
Registered: April 2010
Junior Member
Hi,
for my project I need to compare 2 files (well, xml files) and I would like to use the org.eclipse.compare apis.
What I found in these couple of days of study, though, is that it is not possible to instantiate objects of those classes without having a plugin infrastructure.
I looked at the org.eclipse.compare.examples.xml package but I couldn't find a way to use those classes without referring to a plugin.
What I need is
- have 2 files as left and right
- compare them
- obtain an object having the differences between left and right
since they are xml, the plus i'd need differences in a structured form.
another needed behaviour would be to configure which conditions are considered as differences and which should be ignored, as apparently is done in the org.eclipse.compare.examples.xml with the class IdMap.

Can I use the package from my own custom classes without having a plugin, resources, etc.?

Thanks for the reply
Gemon
Previous Topic:command enable - 2 questions
Next Topic:SWTBot JRuby console
Goto Forum:
  


Current Time: Fri Apr 19 23:08:51 GMT 2024

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

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

Back to the top