Hi Amila, On Sat, Jun 23, 2012 at 8:23 AM, Amila Maha Arachchi <[email protected]>wrote:
> Hi Nirmal, > > I had a quick look at your question. It seems the exported package version > is 2.0.0.wso2v1. But your expected range is 1.4 <= r < 2. > > AFAIK 2.0.0 < 2.0.0.wso2v1. :-), yes that's what I know too :D > Therefore the inequality is not satisfied. I think you should try > something like [1.4,2.1). > I think you've not understand my question here (might be cause I wasn't that clear :-) ). Anyway, I repeat, here I am reporting is (probably) a bug, when you deploy a bundle using dropins. Please see the OSGi console output, I've sent in my last email. > Hope this helps.. > > Regards, > AmilaM. > > On Sat, Jun 23, 2012 at 8:11 AM, Nirmal Fernando <[email protected]> wrote: > >> Hi All, >> >> Here's the problem scenario: >> >> I've added a bundle into dropins folder which has an import like >> "org.apache.commons >> .io.input;version="[1.4,2)", so this should ideally means that I need to >> have a package "org.apache.commons .io.input" >> whose range (r) is s.t. 1.4 <= r <2 >> >> But it seems that this validation is not correctly happen. See following >> [1] outputs from OSGi console of a carbon server. >> >> Can some one please explain this behaviour? Isn't this a bug? >> >> FYI: it fails (quite correctly) when you try to install a feature having >> these two bundles. >> "Missing requirement: jclouds sshj ssh client 1.5.0.beta_2 (jclouds-sshj >> 1.5.0.beta_2) requires 'package org.apache.commons.io.input [1.4.0,2.0.0)' >> but it could not be found" >> >> [1] >> osgi> b 42 >> commons-io_2.0.0.wso2v1 [42] >> Id=42, Status=ACTIVE Data >> Root=/media/wso2/new-carbon/graphite/products/as/modules/distribution/target/wso2as-5.0.0-SNAPSHOT/repository/components/configuration/org.eclipse.osgi/bundles/42/data >> No registered services. >> No services in use. >> Exported packages >> org.apache.commons.io.output; version="2.0.0"[exported] >> org.apache.commons.io.monitor; version="2.0.0"[exported] >> org.apache.commons.io.filefilter; version="2.0.0"[exported] >> org.apache.commons.io.comparator; version="2.0.0"[exported] >> *org.apache.commons.io.input; version="2.0.0"[exported]* >> org.apache.commons.io; version="2.0.0"[exported] >> No imported packages >> No fragment bundles >> Named class space >> commons-io; bundle-version="2.0.0.wso2v1"[provided] >> No required bundles >> >> osgi> packages org.apache.commons.io.input >> org.apache.commons.io.input; version="2.0.0"<commons-io_2.0.0.wso2v1 [42]> >> axis2_1.6.1.wso2v5 [19] imports >> jclouds-sshj_1.5.0.beta_2 [79] imports >> org.apache.commons.io_1.4.0 [114] imports >> org.wso2.carbon.registry.core_4.0.0.SNAPSHOT [355] imports >> >> osgi> b 79 >> jclouds-sshj_1.5.0.beta_2 [79] >> Id=79, Status=ACTIVE Data >> Root=/media/wso2/new-carbon/graphite/products/as/modules/distribution/target/wso2as-5.0.0-SNAPSHOT/repository/components/configuration/org.eclipse.osgi/bundles/79/data >> No registered services. >> No services in use. >> Exported packages >> org.jclouds.sshj.config; version="1.5.0.beta2"[exported] >> org.jclouds.sshj; version="1.5.0.beta2"[exported] >> Imported packages >> com.google.common.base; version="12.0.0.wso2v1"<guava_12.0.0.wso2v1 >> [55]> >> com.google.common.collect; >> version="12.0.0.wso2v1"<guava_12.0.0.wso2v1 [55]> >> com.google.common.io; version="12.0.0.wso2v1"<guava_12.0.0.wso2v1 >> [55]> >> com.google.common.net; version="12.0.0.wso2v1"<guava_12.0.0.wso2v1 >> [55]> >> com.google.inject; version="1.3.0"<com.google.inject_3.0.0 [34]> >> com.google.inject.binder; version="1.3.0"<com.google.inject_3.0.0 >> [34]> >> javax.annotation; version="0.0.0"<org.eclipse.osgi_3.7.0.v20110613 >> [0]> >> javax.inject; version="3.0.0.wso2v1"<guice_3.0.0.wso2v1 [56]> >> net.schmizz.sshj; version="0.8.0"<net.schmizz.sshj_0.8.0 [101]> >> net.schmizz.sshj.common; version="0.8.0"<net.schmizz.sshj_0.8.0 [101]> >> net.schmizz.sshj.connection; version="0.8.0"<net.schmizz.sshj_0.8.0 >> [101]> >> net.schmizz.sshj.connection.channel.direct; >> version="0.8.0"<net.schmizz.sshj_0.8.0 [101]> >> net.schmizz.sshj.sftp; version="0.8.0"<net.schmizz.sshj_0.8.0 [101]> >> net.schmizz.sshj.transport; version="0.8.0"<net.schmizz.sshj_0.8.0 >> [101]> >> net.schmizz.sshj.transport.verification; >> version="0.8.0"<net.schmizz.sshj_0.8.0 [101]> >> net.schmizz.sshj.userauth; version="0.8.0"<net.schmizz.sshj_0.8.0 >> [101]> >> net.schmizz.sshj.userauth.keyprovider; >> version="0.8.0"<net.schmizz.sshj_0.8.0 [101]> >> net.schmizz.sshj.xfer; version="0.8.0"<net.schmizz.sshj_0.8.0 [101]> >> org.apache.commons.io.input; version="2.0.0"<commons-io_2.0.0.wso2v1 >> [42]> >> org.jclouds.compute.domain; >> version="1.5.0.beta2"<jclouds-compute_1.5.0.beta_2 [71]> >> org.jclouds.crypto; version="1.5.0.beta2"<jclouds-core_1.5.0.beta_2 >> [72]> >> org.jclouds.domain; version="1.5.0.beta2"<jclouds-core_1.5.0.beta_2 >> [72]> >> org.jclouds.http.handlers; >> version="1.5.0.beta2"<jclouds-core_1.5.0.beta_2 [72]> >> org.jclouds.io; version="1.5.0.beta2"<jclouds-core_1.5.0.beta_2 [72]> >> org.jclouds.io.payloads; >> version="1.5.0.beta2"<jclouds-core_1.5.0.beta_2 [72]> >> org.jclouds.logging; version="1.5.0.beta2"<jclouds-core_1.5.0.beta_2 >> [72]> >> org.jclouds.predicates; >> version="1.5.0.beta2"<jclouds-core_1.5.0.beta_2 [72]> >> org.jclouds.rest; version="1.5.0.beta2"<jclouds-core_1.5.0.beta_2 >> [72]> >> org.jclouds.ssh; version="1.5.0.beta2"<jclouds-compute_1.5.0.beta_2 >> [71]> >> org.jclouds.util; version="1.5.0.beta2"<jclouds-core_1.5.0.beta_2 >> [72]> >> No fragment bundles >> Named class space >> jclouds-sshj; bundle-version="1.5.0.beta_2"[provided] >> No required bundles >> >> >> >> -- >> >> Thanks & regards, >> Nirmal >> >> Software Engineer- Platform Technologies Team, WSO2 Inc. >> Mobile: +94715779733 >> Blog: http://nirmalfdo.blogspot.com/ >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > *Amila Maharachchi* > Technical Lead > Member, Management Committee - Cloud & Platform TG > WSO2, Inc.; http://wso2.com > > Blog: http://maharachchi.blogspot.com > Mobile: +94719371446 > > > -- Thanks & regards, Nirmal Software Engineer- Platform Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
