| Summary: | Provide public APIs for obtaining Bundle and StorageHook | ||
|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | Samson Wai <samwai> |
| Component: | Framework | Assignee: | equinox.framework-inbox <equinox.framework-inbox> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | karla.callaghan, simon_kaegi, suwanda |
| Version: | 3.2 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 126585 | ||
|
Description
Samson Wai
Tom suggested an approach for at least the on disk DLL locating portion here. http://www.eclipse.org/newsportal/article.php?id=1751&group=eclipse.technology.equinox#1751 Did that approach work? For the other issue where you're using BundleData to help resolve bundle inter-dependencies, are you just referring to accessing data in the manifest? Regarding Tom's approach of getting on-disk files, I haven't tried it in my code but it looks promising. I will give that a shot. For the BundleData, on top of getting the plugin dependencies, I will need the fully qualified path pointing to all the jars which a plugin provides. For example, I am using the "getBundleFile()" and the "getClassPath()" methods from the BaseData (BaseData implements BundleData, which I can get from calling "getBundleData()" from BundleFragment or BundleHost). The "getBundleFile()" method is used if the plugin is a jar, whlie "getClassPath()" is used when the plugin is a directory. Accessing the manifest in the plugin-as-jar case may or maynot be able to get the jar name out of it, especially the jar name now contains Bundle-Version as well. I think accessing the manifest is the first step of getting those jar names. Exposing these as API will lock us into a particular implementation of the OSGi Framework. For locating DLLs you should be able to use the approach I outlined in the newsgroup link from comment 1. You should also be able to use a similar approach to finding the jar files that are from the Bundle-ClassPaths. As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this originator of this enhancement/defect has an inactive Bugzilla account and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open. This enhancement/defect was mistaken closed as part of the TPTP 4.6 Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes) since the originator of this enhancement/defect has an inactive Bugzilla account. If this enhancement/defect is still unresolved and reproducible, please re-open. |