[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] Question


Thomas,

The premise being class spaces is that we need to control where a package
is coming from, that is, what bundle is providing it. We are also saying the imports/exports
are not enough:

So if we were to introduce a concept of implementation-version, that is, the Eclipse
versions. Furthermore, we would allow the system to match implementation versions
following the Eclipse matching rules, allowing therefore to have multiple exported versions
to match different imported ones. Then, we can do without the class spaces, if an
implementation version of a package fully determines the contents of that package.

Hence my question. Assuming that implementation package would have an implementation
version, would it fully qualify the contents?

Best regards,

Olivier Gruber, Ph.D.
Persistent & Distributed Object Platforms and Frameworks
IBM TJ Watson Research Center




Thomas Watson/Austin/IBM@IBMUS
Sent by: equinox-dev-admin@xxxxxxxxxxx

03/30/2004 09:21 AM
Please respond to equinox-dev

       
        To:        equinox-dev@xxxxxxxxxxx
        cc:        
        Subject:        Re: [equinox-dev] Question




When you use the term "providing" it is implying the use of a NAMED class space.  A Bundle provides a set of packages to a NAMED class space which is named and versioned by the Bundle-SymbolicName and the Bundle-Version.  In this case the packages are not versioned.  Rather the set of packages the bundle is "providing" is named and versioned.


We do allow two bundles to provide the same package two their own NAMED class space but these two NAMED class spaces must not have the same symbolic name and same bundle version.


Thomas Watson



Olivier Gruber/Watson/IBM@IBMUS
Sent by: equinox-dev-admin@xxxxxxxxxxx

03/30/2004 07:19 AM
Please respond to equinox-dev

       
       To:        equinox-dev@xxxxxxxxxxx, equinox-dev-admin@xxxxxxxxxxx

       cc:        

       Subject:        [equinox-dev] Question





Can two bundles providing the same package name, same version,

provide different contents?


I would hope not.

If not, is there any other reason why the origin of a package might matter?


Best regards,


Olivier Gruber, Ph.D.
Persistent & Distributed Object Platforms and Frameworks
IBM TJ Watson Research Center