It's all about the answers!

Ask a question

Using API to accept and reverse a patch


Daniel Kalman (121) | asked May 01 '11, 11:44 a.m.
Hi I'm working on a testing system that gets a bunch of patches as input automatically accepts them and check how a plugin i wrote is behaving
I need to know if there is an API for accepting patches saving the workspace and then reversing them

Thanks

One answer



permanent link
Michael Valenta (3.6k3) | answered May 02 '11, 9:22 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
The Eclipse platform does have API to apply and reverse patches. It is fairly low level but it may still serve your purpose. Have a look at the org.eclipse.compare.patch package in the org.eclipse.compare.core bundle.

Your answer


Register or to post your answer.