harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony Wu" <wuyue...@gmail.com>
Subject Re: svn commit: r548541 - /harmony/enhanced/classlib/trunk/modules/jndi/META-INF/MANIFEST.MF
Date Thu, 21 Jun 2007 01:31:02 GMT
Hi Tim,
I'm a liittle confused, since the Require-Bundle is used in project
support. I tried to add the
org.apache.harmony.testframework.serialization as Import-Package in
jndi but did not work.

AFAIU, Require-Bundle is the same as import all the packages which the
bundle exports. I'm not familiar with OSGI, could you comment on the
difference of these two ways?

Thanks very much.

On 6/21/07, Tim Ellison <t.p.ellison@gmail.com> wrote:
> Tony,
>
> We are avoiding Require-Bundle, and using Import-Package directly in the
> manifests.  Dependencies that are only there for test cases are then
> marked as optional so the dependencies apply equally well in the runtime.
>
> Unless you object I'll change this to use Import-Package.
>
> Regards,
> Tim
>
> tonywu@apache.org wrote:
> > Author: tonywu
> > Date: Mon Jun 18 18:18:09 2007
> > New Revision: 548541
> >
> > URL: http://svn.apache.org/viewvc?view=rev&rev=548541
> > Log:
> > Resolve bundle error in Eclipse
> >
> > Modified:
> >     harmony/enhanced/classlib/trunk/modules/jndi/META-INF/MANIFEST.MF
> >
> > Modified: harmony/enhanced/classlib/trunk/modules/jndi/META-INF/MANIFEST.MF
> > URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/META-INF/MANIFEST.MF?view=diff&rev=548541&r1=548540&r2=548541
> > ==============================================================================
> > --- harmony/enhanced/classlib/trunk/modules/jndi/META-INF/MANIFEST.MF (original)
> > +++ harmony/enhanced/classlib/trunk/modules/jndi/META-INF/MANIFEST.MF Mon Jun 18
18:18:09 2007
> > @@ -41,5 +41,6 @@
> >   javax.naming.event,
> >   javax.naming.ldap,
> >   javax.naming.spi
> > +Require-Bundle: org.apache.harmony.support
> >
> >
> >
> >
> >
>


-- 
Tony Wu
China Software Development Lab, IBM

Mime
View raw message