I think you're right. Note that OSGi also allows a bundle to embed jars, so one may be able to build a real OSGi bundle and embed the jar instead of repackaging it. This is done through the use of the Bundle-Classpath manifest header iirc.
On Thu, Jan 8, 2009 at 20:52, Adrian Trenaman <[email protected]> wrote: > Oooh. Now that's a difficult question. I think there are no lawyers on this > list, and, I'm confident that even if there was this might have to be > answered on a case-by-case basis. > > The real question is "are we modifying the JAR?" > > * If you unzip the JAR and add a MANIFEST.MF to OSGi-fy the bundle, then > you've made modification and so you may be in trouble. > * If, however, you wrap the JAR (e.g. installing using the wrap: prefix into > the SMX4 runtime) then AFAIK you're wrapping the JAR, not modifying it. So, > you should be OK. > > Does anyone else have any input on this? > > /Ade > > On 2 Jan 2009, at 10:57, gabspeck wrote: > >> >> Hello, >> >> I'm working with Anderson on a project that needs the JDBC driver for DB2, >> which is not free software. Are there any legal restrictions for modifying >> the driver's JAR in order to "osgify" it? >> >> Thanks in advance, >> >> Gabriel S >> >> >> >> florian M wrote: >>> >>> >>> 1. Yes >>> 2. Yes >>> >>> :) Simple !! >>> >>> >>> Anderson Nielson wrote: >>>> >>>> So... >>>> 1. Should I use the same postgress jar and just replace the "osgified" >>>> manifest file? >>>> 2. And how about deploying it? Just to put in the deploy folder? >>>> >>>> B.R. >>>> - Anderson >>>> >>>> >>>> >>>> 2008/12/31 florian M <[email protected]> >>>> >>>>> >>>>> You have to modify the MANIFEST file of the jar to make it a bundle : >>>>> more >>>>> informations >>>>> http://blog.springsource.com/2008/02/18/creating-osgi-bundles/ >>>>> here >>>>> >>>>> >>>>> >>>>> Anderson Nielson-3 wrote: >>>>>> >>>>>> >>>>>> How to wrap and deploy the JDBC driver? >>>>>> I would like to wrap postgres driver. Could you please provide some >>>>> >>>>> sample >>>>>> >>>>>> or guidelines. >>>>>> >>>>>> Thanks >>>>>> >>>>>> >>>>> -- >>>>> View this message in context: >>>>> >>>>> http://www.nabble.com/error-deploying-an-oracle-pooling-osgi%3Aservice-tp21229772p21231285.html >>>>> Sent from the ServiceMix - User mailing list archive at Nabble.com. >>>>> >>>>> >>>> >>>> >>> >>> >> >> -- >> View this message in context: >> http://www.nabble.com/error-deploying-an-oracle-pooling-osgi%3Aservice-tp21229772p21250070.html >> Sent from the ServiceMix - User mailing list archive at Nabble.com. >> > > --- > Adrian Trenaman, Consultant Fellow, PS - Opensource Center of Competence > Progress Software Corp > Shelbourne Road, Dublin 4, Ireland > --- > +353-1-637-2659 (Office) > +353-1-637-2882 (Fax) > +353-86-6051026 (Mobile) > adrian.trenaman (Skype) > ---- > Blog: http://trenaman.blogspot.com > > > > > > > > > -- Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/ ------------------------ Open Source SOA http://fusesource.com
