Hi So if I understand correctly you have extended the hello interface with another interface from a different package.
To achieve this, just create a bundle containing the interface and exporting the package containing the Interface. Then modify the hello Interface to add the extends Clause. When you will repackage the bundle, bnd will add the Import package. Regards, Clement 2009/2/25, Pete Haidinyak <[email protected]>: > Howdy, > I am using the iPOJO Annotation sample (Ant version) and I have extended > the Hello interface with an interface outside the 'ipojo.example.hello' > packages. The interface is 'com.idiots.test.TestInterface'. I created a > jar with this interface and placed it in the classpath when I started > Felix and I modified the config.properties to include the interfaces > package (I think) > > org.osgi.framework.system.packages.extra=com.idiots.test > > When I started the bundles (impl and client) I would get a > ClassNotFoundException for the TestInterface. I noticed there wasn't an > Import-Package entry for 'com.idiots.test' in the Manifest file. > It was my understanding that the bnd task would automagically find all the > imports needed and add them to the manifest. Anyway I manually added the > import to the manifest without any success. I know I'm doing something > fundamentally wrong cuz this should be simple. > > Please help > > Thanks > > -Pete > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

