Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 258853

Summary: Provide a compare ant task
Product: [Eclipse Project] PDE Reporter: Olivier Thomann <Olivier_Thomann>
Component: API ToolsAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert, darin.eclipse, Michael_Rennie
Version: 3.5Keywords: plan
Target Milestone: 3.5 M7Flags: Michael_Rennie: review+
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 243854    
Attachments:
Description Flags
Proposed fix
none
updated patch
none
Work in progress
none
Work in progress (2)
none
Proposed fix none

Description Olivier Thomann CLA 2008-12-15 14:10:25 EST
- Tooling to compare APIs - highlights what APIs have changed in a release, relative to a baseline
- Could be presented in the IDE (structural compare) and as an Ant task/report for RelEng builds
Comment 1 Olivier Thomann CLA 2009-01-21 14:40:45 EST
Moving to 3.5M6
Comment 2 Olivier Thomann CLA 2009-03-05 20:59:44 EST
Created attachment 127736 [details]
Proposed fix

First draft.
Comment 3 Olivier Thomann CLA 2009-03-05 21:00:53 EST
Michael, Darin, please give it a try.
The remaining work is:
- polish the ui dialog
- add the conversion from xml to html
- polish the xslt transformation
Comment 4 Michael Rennie CLA 2009-03-06 11:05:01 EST
Comments:

1. the dialog should remember paths I use in it
2. if you want to stick with a the modal progress dialog I would change to using a wizard, or change the job to run in the background
3. it might be nice to be able to compare one baseline to another as well
4. there are no mnemonics for any of the widgets

It also might be really cool to show the results in a view so users can click a delta and see the source change(s)
Comment 5 Olivier Thomann CLA 2009-03-06 11:18:08 EST
Move to M7 due to time constraint for M6.
Comment 6 Michael Rennie CLA 2009-03-06 12:19:45 EST
Created attachment 127838 [details]
updated patch

I updated the patch with:

1. widget state persistence
2. using a job instead of the modal progress dialog
3. use the SWT factory in the dialog
4. mnemonics for the widgets
Comment 7 Olivier Thomann CLA 2009-04-16 11:42:58 EDT
Created attachment 132099 [details]
Work in progress
Comment 8 Olivier Thomann CLA 2009-04-17 11:44:20 EDT
Created attachment 132259 [details]
Work in progress (2)

Remaining part if the html export.

We could add:
- import/export session
- filtering on elements based on the compatibility status (hide breaking changes/hide compatible changes).

Not sure I want to add all this for 3.5. Export html should be included for 3.5. The remaining items will be time permitting.
Comment 9 Olivier Thomann CLA 2009-04-20 14:44:50 EDT
Created attachment 132475 [details]
Proposed fix
Comment 10 Olivier Thomann CLA 2009-04-20 14:45:43 EDT
Released for 3.5M7.
Darin, Michael, please let me know what you think.
Any issues should be open in a new bug report.

Michael, please review.
Comment 11 Michael Rennie CLA 2009-04-24 12:00:03 EDT
verified