felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Pauls" <karlpa...@gmail.com>
Subject Bundles need to import org.osgi.framework explicitly
Date Tue, 18 Apr 2006 21:23:01 GMT
For the record,

I just discovered that the following bundle pom.xml files in the trunk
did not create an import header for the org.osgi.framework package,

org.apache.felix.wireadmin/pom.xml
org.apache.felix.servicebinder/pom.xml
org.apache.felix.examples.spellcheckservice/pom.xml
org.apache.felix.examples.spellcheckclient/pom.xml
org.apache.felix.examples.spellcheckbinder/pom.xml
org.apache.felix.examples.frenchdictionary/pom.xml
org.apache.felix.examples.eventlistener/pom.xml
org.apache.felix.examples.dictionaryservice/pom.xml
org.apache.felix.examples.dictionaryclient2/pom.xml
org.apache.felix.examples.dictionaryclient/pom.xml

the spec requires that bundles import any used package explicitly
(except java.*) and (more recently :-) felix does not make an
exception for org.osgi.framework anymore.
In other words, none of the above bundles did start but failed with a
ClassNotFound.

I've taken the liberty to fix this and commit the changes to the trunk.

regards,

Karl

--
Karl Pauls
karlpauls@gmail.com

Mime
View raw message