Comparing API Baselines

Comparing API Baselines

In Eclipse 3.5, the PDE team has been hard at work improving the API Tools component. One of the new exciting features we have planned for Eclipse 3.5 M7 is comparing baselines. To compare an API baseline, simply right click an API Tools enabled project and select the ‘Compare With -> API Baseline’ menu option (I’m using an Eclipse 3.5 build with an Eclipse 3.4.2 baseline):

Compare With API Baseline

Once you do that, you should be presented with the ‘API Tooling’ view:

api2

No changes have been found? Oh, that makes sense since the org.eclipse.ui.views.log bundle doesn’t contain any API. Let’s choose the ‘org.eclipse.osgi’ bundle which definitely should have some API changes in it:

api1

Look at that! You get information about methods and types added!

Hope this helps! If you have any ideas on how to improve API Tools, please file bugs.

1 Comment
  • Posted at 10:32 pm, April 28, 2009

    Very nice, but why another custom view instead of a comparison editor, or say, a Search view?