Delete the Service-Component header. Bnd will add it if necessary for any DS components.
--

BJ Hargrave
Senior Technical Staff Member, IBM // office: +1 386 848 1781
OSGi Fellow and CTO of the OSGi Alliance // mobile: +1 386 848 3788
hargr...@us.ibm.com
 
 
----- Original message -----
From: Henrik Niehaus via osgi-dev <osgi-dev@mail.osgi.org>
Sent by: osgi-dev-boun...@mail.osgi.org
To: OSGi Developer Mail List <osgi-dev@mail.osgi.org>
Cc:
Subject: [osgi-dev] Porting bnd workspace to bndtools 4.0.0
Date: Fri, Jun 29, 2018 11:44 AM
 
I updated to Eclipse Photon and bndtools 4.0.0. To port my old bndtools
workspace I started with a clean workspace and used the OSGi template.
(I did that, because the old one had some repo plug-ins missing and I
couldn't figure out how to resolve that.) Then I copied over all my
bundle projects and faced the following problems:

1. For the Service-Component header I had to fill in every component
instead of *
No big deal, but kind of tedious.

2. I had to add a Service-Component header for each bundle, even though
they didn't contain any component
Is this a regression, or did the spec change, so this is mandatory?

3. I have a project with multiple bundles using the -sub header. In this
project I get "Service-Component entry can not be located in JAR:
OSGI-INF/test.impl.Noop.xml~" for each component. The "generated"
directory is empty. Here is an example project:

https://github.com/hampelratte/bndtools-example.git

I assume this is a bug. Or am I missing a directive in one of the bnd files?

Best regards
Henrik

_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

 
 

_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to