Hi, When making some stubs as osgi bundles, there were errors at the product start up saying stub bundle can not be started due to several missing constraints, although the build was successful up to p2-profile-gen and then up to product.
And it was solved only after using dynamic imports. What might be the solution in such cases if dynamic imports are not supposed to be used? Do we need to explicitly import all the packages which osgi complains that it can not resolve at run time? As I can remember, javax.namespace, javax.stream, axiom and axis2 packages were reported at startup as can not be resolved.. First, I tried explicitly importing each and every one of them but the list continued. When dynamic imports was used, it solved the problem. Thanks, Hasini. On Fri, Apr 1, 2011 at 8:56 AM, Afkham Azeez <[email protected]> wrote: > Unnecessarily many bundle POM have this, which is considered evil in the > OSGi world. Please remove all those that are not necessary. Most of the > Carbon components do not need this. > > -- > *Afkham Azeez* > Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com, > * > * > *Member; Apache Software Foundation; > **http://www.apache.org/*<http://www.apache.org/> > * > email: **[email protected]* <[email protected]>* cell: +94 77 3320919 > blog: **http://blog.afkham.org* <http://blog.afkham.org>* > twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> > * > linked-in: **http://lk.linkedin.com/in/afkhamazeez* > * > * > *Lean . Enterprise . Middleware* > > > _______________________________________________ > Carbon-dev mailing list > [email protected] > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > >
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
