Bug 222296 - Missing package imports in device bundles
Summary: Missing package imports in device bundles
Status: RESOLVED DUPLICATE of bug 73957
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: OHF (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Lee Surprenant CLA
QA Contact: Lee Surprenant CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-11 15:42 EDT by Lee Surprenant CLA
Modified: 2012-01-05 13:31 EST (History)
1 user (show)

See Also:


Attachments
QK145 Manifest Patch (13.93 KB, patch)
2008-03-11 15:53 EDT, Lee Surprenant CLA
no flags Details | Diff
mylyn/context/zip (1.94 KB, application/octet-stream)
2008-03-11 15:53 EDT, Lee Surprenant CLA
no flags Details
A and D Omni Bundle Patch (861 bytes, patch)
2008-03-24 13:53 EDT, Lee Surprenant CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lee Surprenant CLA 2008-03-11 15:42:54 EDT
This may be a device kit bug, or possibly just an artifact of older device kit bundles, but a number of our stepstone device bundles do not work with the 3.3.0 org.eclipse.osgi bundle.  The problem is masked in eclipse by the fact the necessary classes are available through usage of the "Automated Management of Dependencies" section of the manifest.

In order to reproduce, take a device bundle (such as org.eclipse.soda.stepstone.dev.qk145.device.bundle) and remove the entries from the Automated Management of Dependencies section.  This results in the following compile error:  

"The type org.eclipse.soda.dk.device.TransportDevice cannot be resolved. It is indirectly referenced from required .class files	org.eclipse.soda.stepstone.dev.qk145.device.bundle/src/org/eclipse/soda/stepstone/dev/qk145/device/bundle	QK145DeviceBundle.java	line 140	1205264509359	12596"

PDE does not automattically add these packages for you (not sure why) and these errors show up in a standalone equinox runtime as NoClassDefFound errors.
Comment 1 Lee Surprenant CLA 2008-03-11 15:51:41 EDT
We may be able to pull out all the *.bundle imports as well.
Comment 2 Lee Surprenant CLA 2008-03-11 15:53:16 EDT
Created attachment 92219 [details]
QK145 Manifest Patch

This patch removes the Automated Management of Dependencies entries and adds the required package imports
Comment 3 Lee Surprenant CLA 2008-03-11 15:53:19 EDT
Created attachment 92220 [details]
mylyn/context/zip
Comment 4 Lee Surprenant CLA 2008-03-24 13:53:17 EDT
Created attachment 93298 [details]
A and D Omni Bundle Patch
Comment 5 Lee Surprenant CLA 2008-07-01 11:23:22 EDT
we should see if this bug is related to https://bugs.eclipse.org/bugs/show_bug.cgi?id=73957 at some point
Comment 6 Lee Surprenant CLA 2009-02-23 09:26:53 EST

*** This bug has been marked as a duplicate of bug 73957 ***