Bug 368780 - Update tracing bundle to support 3.5 and 3.6 target dependencies
Summary: Update tracing bundle to support 3.5 and 3.6 target dependencies
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.7   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 3.8 M6   Edit
Assignee: Curtis Windatt CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on: 296631
Blocks:
  Show dependency tree
 
Reported: 2012-01-16 17:47 EST by Curtis Windatt CLA
Modified: 2012-02-01 12:46 EST (History)
2 users (show)

See Also:


Attachments
Removed calls to 3.7 only API to match 36 (2.99 KB, patch)
2012-01-27 08:39 EST, Christian Georgi CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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