[Dev] OSGi Fragment host problem when using package name instead of bundle symbolic name
Hi All, Third party OSGi bundle rocoto is a fragment bundle of com.google.inject [1]. But it cannot be installed without changing [1] to [2]. Isn't this a bug? Only work around I could see is making rocoto an orbit bundle and use. Please advice. [1] Fragment-Host: com.google.inject;bundle-version="[3.0.0,4)" [2] Fragment-Host: guice;bundle-version="[3.0.0,4)" -- Thanks & regards, Nirmal Software Engineer- Platform Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] OSGi Fragment host problem when using package name instead of bundle symbolic name
Any thoughts? On Sat, Jun 23, 2012 at 12:06 PM, Nirmal Fernando wrote: > Hi All, > > Third party OSGi bundle rocoto is a fragment bundle of com.google.inject > [1]. > > But it cannot be installed without changing [1] to [2]. Isn't this a bug? > Only work around I could see is making rocoto an orbit bundle and use. > > Please advice. > > [1] Fragment-Host: com.google.inject;bundle-version="[3.0.0,4)" > [2] Fragment-Host: guice;bundle-version="[3.0.0,4)" > -- > > Thanks & regards, > Nirmal > > Software Engineer- Platform Technologies Team, WSO2 Inc. > Mobile: +94715779733 > Blog: http://nirmalfdo.blogspot.com/ > -- Thanks & regards, Nirmal Software Engineer- Platform Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] OSGi Fragment host problem when using package name instead of bundle symbolic name
Hi, So is it working once you specify the bundle name ? is so it is the correct behaviour AFAIK. Your fragment bundle get attached to the host bundle, not to a package. The version is optional. thanks, --Pradeep ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] OSGi Fragment host problem when using package name instead of bundle symbolic name
On Mon, Jun 25, 2012 at 1:22 PM, Pradeep Fernando wrote: > Hi, > > So is it working once you specify the bundle name ? Yes! > is so it is the > correct behaviour AFAIK. Your fragment bundle get attached to the host > bundle, not to a package. The version is optional. > okay, but rocoto bundle provides otherwise! So probably we need to create (another) orbit bundle to wrap this up? > > > thanks, > --Pradeep > -- Thanks & regards, Nirmal Software Engineer- Platform Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] OSGi Fragment host problem when using package name instead of bundle symbolic name
In any case, you have to create a new orbit bundle if the original bundle doesn't work. If it works without making it a fragment, I think that will be even better. Thanks, ~Isuru On Mon, Jun 25, 2012 at 2:39 PM, Nirmal Fernando wrote: > > > On Mon, Jun 25, 2012 at 1:22 PM, Pradeep Fernando wrote: > >> Hi, >> >> So is it working once you specify the bundle name ? > > > Yes! > > >> is so it is the >> correct behaviour AFAIK. Your fragment bundle get attached to the host >> bundle, not to a package. The version is optional. >> > > okay, but rocoto bundle provides otherwise! So probably we need to create > (another) orbit bundle to wrap this up? > > >> >> >> thanks, >> --Pradeep >> > > > > -- > > Thanks & regards, > Nirmal > > Software Engineer- Platform Technologies Team, WSO2 Inc. > Mobile: +94715779733 > Blog: http://nirmalfdo.blogspot.com/ > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Isuru Suriarachchi Senior Technical Lead WSO2 Inc. http://wso2.com email : is...@wso2.com blog : http://isurues.wordpress.com/ lean . enterprise . middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] OSGi Fragment host problem when using package name instead of bundle symbolic name
On Mon, Jun 25, 2012 at 5:13 PM, Isuru Suriarachchi wrote: > In any case, you have to create a new orbit bundle if the original bundle > doesn't work. Cool! Thanks everyone! > If it works without making it a fragment, I think that will be even better. > > Thanks, > ~Isuru > > On Mon, Jun 25, 2012 at 2:39 PM, Nirmal Fernando wrote: > >> >> >> On Mon, Jun 25, 2012 at 1:22 PM, Pradeep Fernando wrote: >> >>> Hi, >>> >>> So is it working once you specify the bundle name ? >> >> >> Yes! >> >> >>> is so it is the >>> correct behaviour AFAIK. Your fragment bundle get attached to the host >>> bundle, not to a package. The version is optional. >>> >> >> okay, but rocoto bundle provides otherwise! So probably we need to create >> (another) orbit bundle to wrap this up? >> >> >>> >>> >>> thanks, >>> --Pradeep >>> >> >> >> >> -- >> >> Thanks & regards, >> Nirmal >> >> Software Engineer- Platform Technologies Team, WSO2 Inc. >> Mobile: +94715779733 >> Blog: http://nirmalfdo.blogspot.com/ >> >> ___ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > Isuru Suriarachchi > Senior Technical Lead > WSO2 Inc. http://wso2.com > email : is...@wso2.com > blog : http://isurues.wordpress.com/ > > lean . enterprise . middleware > > -- Thanks & regards, Nirmal Software Engineer- Platform Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev