Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 338924 - Eclipse OSGi IDE doesn't following correctly the OSGi R4 specification
Summary: Eclipse OSGi IDE doesn't following correctly the OSGi R4 specification
Status: CLOSED DUPLICATE of bug 164188
Alias: None
Product: PDE
Classification: Eclipse Project
Component: API Tools (show other bugs)
Version: 4.0   Edit
Hardware: All All
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: PDE API Tools Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-04 07:54 EST by Ed Pichler CLA
Modified: 2011-03-04 08:20 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Pichler CLA 2011-03-04 07:54:37 EST
Build Identifier: 

I got problems running my bundles in Equinox:
http://stackoverflow.com/questions/5181211/java-lang-noclassdeffounderror-on-osgi/5181271#5181271

I discovered that eclipse imports automatically java vm libraries, while, in a OSGi environment I should declare all imported packages.

I think eclipse should import all packages in manifest file. Like it was disabled the org.osgi.framework.bootdelegation=* 

When I try to run in fully official OSGi environment, I shoul edit all manifest files to import the packages. I think need to be improved these feature.

Reproducible: Always

Steps to Reproduce:
1. Create a OSGi bundle on Eclipse with required Environment JSE5.0 in manifest file.
2. Try tu run on Equinox with default configuration (don't put org.osgi.framework.bootdelegation=* on config file).
3.
Comment 1 Thomas Watson CLA 2011-03-04 08:20:54 EST
Marking as duplicate of bug164188.  This is opened against API tooling, but I think it belongs in PDE-UI where other checks are done to ensure you use only packages that are imported/requried.

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