You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by Karl Pauls <ka...@gmail.com> on 2006/04/18 23:23:01 UTC
Bundles need to import org.osgi.framework explicitly
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
Re: Bundles need to import org.osgi.framework explicitly
Posted by "Richard S. Hall" <he...@ungoverned.org>.
Sorry, that was supposed to be a private message. Just to fill in the
details, Karl committed but I never say his commit message on the
commits mailing list...
Sorry again. :-[
-> richard
Richard S. Hall wrote:
> Maybe you should try to commit something else, to your sandbox maybe,
> to see if we see commit messages.
>
> -> richard
>
> Karl Paulus wrote:
>> 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
>>
>>
>
Re: Bundles need to import org.osgi.framework explicitly
Posted by "Richard S. Hall" <he...@ungoverned.org>.
Maybe you should try to commit something else, to your sandbox maybe, to
see if we see commit messages.
-> richard
Karl Paulus wrote:
> 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
>
>