You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by to...@apache.org on 2007/06/19 03:18:10 UTC

svn commit: r548541 - /harmony/enhanced/classlib/trunk/modules/jndi/META-INF/MANIFEST.MF

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
 
 



Re: svn commit: r548541 - /harmony/enhanced/classlib/trunk/modules/jndi/META-INF/MANIFEST.MF

Posted by Nathan Beyer <nd...@apache.org>.
On 6/20/07, Tony Wu <wu...@gmail.com> wrote:
> 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?

That's essentially what it does yes. The advantage to using
Import-Package is that it's resistant to changes in bundle packaging.

>
> Thanks very much.
>
> On 6/21/07, Tim Ellison <t....@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
>

Re: svn commit: r548541 - /harmony/enhanced/classlib/trunk/modules/jndi/META-INF/MANIFEST.MF

Posted by Tony Wu <wu...@gmail.com>.
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....@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

Re: svn commit: r548541 - /harmony/enhanced/classlib/trunk/modules/jndi/META-INF/MANIFEST.MF

Posted by Tim Ellison <t....@gmail.com>.
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
>  
>  
> 
> 
>