On Sat, Nov 29, 2008 at 6:37 AM, Luciano Resende <[EMAIL PROTECTED]>wrote:
> Some info about importing own exported modules. > > [1] > http://www.osgi.org/blog/2007/04/importance-of-exporting-nd-importing.html > > On Fri, Nov 28, 2008 at 3:07 AM, <[EMAIL PROTECTED]> wrote: > > Author: slaws > > Date: Fri Nov 28 03:07:11 2008 > > New Revision: 721429 > > > > URL: http://svn.apache.org/viewvc?rev=721429&view=rev > > Log: > > Remove the self import as it messes up my eclipse PDE dependency graph. > There may be a specific reason for his import as many modules import > packages that they themselves contain so I'll see if anyone can shed light > on this and if not carry on removing them > > > > Modified: > > tuscany/java/sca/modules/extensibility/META-INF/MANIFEST.MF > > > > Modified: tuscany/java/sca/modules/extensibility/META-INF/MANIFEST.MF > > URL: > http://svn.apache.org/viewvc/tuscany/java/sca/modules/extensibility/META-INF/MANIFEST.MF?rev=721429&r1=721428&r2=721429&view=diff > > > ============================================================================== > > --- tuscany/java/sca/modules/extensibility/META-INF/MANIFEST.MF > (original) > > +++ tuscany/java/sca/modules/extensibility/META-INF/MANIFEST.MF Fri Nov > 28 03:07:11 2008 > > @@ -12,8 +12,6 @@ > > Bundle-ManifestVersion: 2 > > Bundle-License: http://www.apache.org/licenses/LICENSE-2.0.txt > > Bundle-Description: Apache Tuscany SCA Extensibility > > -Import-Package: org.apache.tuscany.sca.core;version="1.4", > > - org.apache.tuscany.sca.extensibility;version="1.4" > > +Import-Package: org.apache.tuscany.sca.core;version="1.4" > > Bundle-SymbolicName: org.apache.tuscany.sca.extensibility > > Bundle-DocURL: http://www.apache.org/ > > - > > > > > > > > > > -- > Luciano Resende > Apache Tuscany, Apache PhotArk > http://people.apache.org/~lresende <http://people.apache.org/%7Elresende> > http://lresende.blogspot.com/ > So it would seem that, for substitutability, this is OSGi best practice so I'll put it back in. I'm not sure I like it though (substitutability seems kind of dangerous to me) so I guess that means my brain is not fully OSGIified yet. Simon
