Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [e4-dev] e4, conventions, OSGi, ... - We need to set up rules

John Arthorne schrieb:
.....
> 4. Import Package vs Require Bundle

I'm not sure if we will (or need to) reach consensus on this. I think a useful starting rule is to only use Import Package if the package is versioned. Whether you design an API to be consumed/implemented at package or bundle granularity may depend on which e4 component you're working on.
another useful starting rule should be to use Import Package for common used packages like logging. It's always a pain to work with bundles where Require Bundle of commons.logging or log4j is used. I always have to enter a bugzilla and to re-deploy such bundles until its changed

--

ekke (ekkehard gentz)
independent software-architect
senior erp-consultant
eclipse | osgi | equinox | mdsd | oaw | emf | uml
max-josefs-platz 30, D-83022 rosenheim, germany
mailto:ekke@xxxxxxxxxxxxxxxx
homepage (de): http://gentz-software.de
blog (en): http://ekkes-corner.org
twitter: @ekkescorner
skype: ekkes-corner
Steuer-Nr: 156/220/30931 FA Rosenheim, UST-ID: DE189929490


Back to the top