Bug 368780

Summary: Update tracing bundle to support 3.5 and 3.6 target dependencies
Product: [Eclipse Project] PDE Reporter: Curtis Windatt <curtis.windatt.public>
Component: UIAssignee: Curtis Windatt <curtis.windatt.public>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: christian.georgi, daniel_megert
Version: 3.7Keywords: contributed
Target Milestone: 3.8 M6   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on: 296631    
Bug Blocks:    
Attachments:
Description Flags
Removed calls to 3.7 only API to match 36 none

Description Curtis Windatt CLA 2012-01-16 17:47:26 EST
Tracing bundle added in bug 296631.

Currently the minimum target the bundle requires is 3.7. To allow this bundle to be dropped into older products, we should lower the requirements.

Lowering to 3.5, there are several compiler errors.  The DebugOptions API is missing the ability to get/set entire maps of options, they must be done individually.  Also the service tracker cannot use generics.
Comment 1 Christian Georgi CLA 2012-01-18 09:28:20 EST
I currently don't see how we can emulate the lacking DebugOptions.getOptions() in 3.5.  And if there is no API to get all options, we are not able to emulate the remove-all-options from TracingPreferencePage.performDefaults().  

It's probably best to just go back to 3.6.  This requires only small changes to the code.
Comment 2 Christian Georgi CLA 2012-01-27 08:39:09 EST
Created attachment 210180 [details]
Removed calls to 3.7 only API to match 36
Comment 3 Curtis Windatt CLA 2012-02-01 12:46:14 EST
Fixed in master