Hi Garry, In OSGi you have two options: include the library in bundle without exporting/importing the packages of the library. This allows a bundle to provide and use its own private version of library.
Otherwise you could provide one or more bundles exporting the packages of the library attributing the exported packages with the respective version. In client bundles you may then import the packages using the appropriate version requirement. Hope this helps. Regards Felix Keith Garry Boyce schrieb: > Hi.. I was wondering if you have any insite into following: In > development I sometimes find 3rd party jars which have bugs that I need > fixed in order to continue with development. What I have been doing is > putting those classes in WEB-INF/classes of web app so these classes > come first before the classpath of the jar in WEB-INF/lib.. This is > quite messy. Is that something handled out of the box by OSGI? From my > reading I can see you can version a package but not override a class in > a package in a straightforward manageable way.... > > Thanks, > Garry > > ------------------------------------------------------------------------ > Hotmail® has ever-growing storage! Don’t worry about storage limits. > Check it out. > <http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tutorial_Storage_062009> > > > ------------------------------------------------------------------------ > > _______________________________________________ > OSGi Developer Mail List > [email protected] > https://mail.osgi.org/mailman/listinfo/osgi-dev _______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev
