|accessing compare apis without plugin infrastructure [message #528764]
||Wed, 21 April 2010 16:59
Registered: April 2010
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
Powered by FUDForum
. Page generated in 0.02657 seconds