Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [orbit-dev] Status of "uses" directive in Equinox and Orbit bundles

Thanks, Tom,

The product in which this problem came up is reasonably large (> 1000
bundles).  Moreover, there are more than a dozen bundles within Batik that
all "use" each other.  It's a tangled web.  :-)   Perhaps, then, I shall
try to re-introduce the "uses" in my bundles and beg you for help if I run
into difficulties.

I have another question, not quite related.  I have discovered, I think,
that whereas I can re-export API of a bundle dependency using the
"visibility=reexport" directive in a Require-Bundle header, it is not
possible to Export-Package a package that was Import-Packaged in order to
re-export it (PDE flags it as an erroneous attempt to export a package not
defined in the bundle).  Is there a way to re-export packages obtained via
Import-Package?

Thanks for your help!

Christian




Christian W. Damus
Component Lead, Eclipse OCL and EMF MQ/MT/VF
IBM Rational Sofware


                                                                           
             Thomas Watson                                                 
             <tjwatson@xxxxxx.                                             
             com>                                                       To 
             Sent by:                  Orbit Developer discussion          
             orbit-dev-bounces         <orbit-dev@xxxxxxxxxxx>             
             @eclipse.org                                               cc 
                                                                           
                                                                   Subject 
             01/04/2008 03:07          Re: [orbit-dev] Status of "uses"    
             PM                        directive in Equinox and Orbit      
                                       bundles                             
                                                                           
             Please respond to                                             
              Orbit Developer                                              
                discussion                                                 
             <orbit-dev@eclips                                             
                  e.org>                                                   
                                                                           
                                                                           




A considerable amount of work went into 3.3.1 and 3.4 to fix the
performance issues regarding the uses clause (see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=181327)

While the situation is much better than it was in 3.3.0 there may still be
situations where the resolver will be slow when faced with multiple
versions. It would be good to try the "uses" clause again and see what
performance issues we see. Christian, would it be possible for you to work
with some of the larger products include multiple versions of your batik
bundles? you may also need to include multiple versions of the bundles
which batik packages "use".

I would not mind working with you to set up such an environment for testing
this again.

Tom



(Embedded image moved to file: pic14108.gif)Inactive hide details for
Christian Damus ---01/04/2008 11:35:01 AM---Hi,Christian Damus ---01
/04/2008 11:35:01 AM---Hi,
                                                                           
 (Embedded image  (Embedded image moved to file: pic21351.gif)             
 moved to file:   Christian Damus <cdamus@xxxxxxxxxx>                      
 pic14501.gif)                                                             
 From:                                                                     
                                                                           
 (Embedded image  (Embedded image moved to file: pic19157.gif)             
 moved to file:   orbit-dev@xxxxxxxxxxx                                    
 pic13102.gif)                                                             
 To:                                                                       
                                                                           
 (Embedded image  (Embedded image moved to file: pic00897.gif)             
 moved to file:   01/04/2008 11:35 AM                                      
 pic13118.gif)                                                             
 Date:                                                                     
                                                                           
 (Embedded image  (Embedded image moved to file: pic16908.gif)             
 moved to file:   [orbit-dev] Status of "uses" directive in Equinox and    
 pic05450.gif)    Orbit bundles                                            
 Subject:                                                                  
                                                                           






Hi,

Back in the day when Orbit was young and care-free, some of us employed the
PDE's "Calculate "uses" directives" function to declare, in our bundle
manifests, the package dependencies of exported packages, to ensure robust
dependency wiring in the OSGi run-time.

However, we abandoned that when a performance problem was identified in the
Equinox implementation that made the "uses" declarations infeasible.  Do we
know what is the status of "uses" in Equinox in Ganymede?  Should we be
looking at re-introducing it to our Orbit bundles?  Or, have we already
done that and I wasn't paying attention?  :-)

I ask because I have an Eclipse application that seems to be running into
classpath consistency problems when multiple versions of the Batik bundles
that I maintain in Orbit are installed, and I thought that "uses" might
help (because that's what it's for).

Thanks,

Christian




Christian W. Damus
Component Lead, Eclipse OCL and EMF MQ/MT/VF
IBM Rational Sofware

_______________________________________________
orbit-dev mailing list
orbit-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/orbit-dev
_______________________________________________
orbit-dev mailing list
orbit-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/orbit-dev

Attachment: pic14108.gif
Description: GIF image

Attachment: pic14501.gif
Description: GIF image

Attachment: pic21351.gif
Description: GIF image

Attachment: pic13102.gif
Description: GIF image

Attachment: pic19157.gif
Description: GIF image

Attachment: pic13118.gif
Description: GIF image

Attachment: pic00897.gif
Description: GIF image

Attachment: pic05450.gif
Description: GIF image

Attachment: pic16908.gif
Description: GIF image


Back to the top