Hi All, We encountered a similar set of OSGI issues when working with the APP Manager Components. It was a different issue however, caused by AM having references to internal registry components, I have already done the fixes for same, will port the fixes for AM components and add it to GIT. Ill look in to this case as well. The fix, I believe is to move ServiceReferenceHolder to outside, and make it not private.
Thanks and Regards, Ruwan Yatawara Senior Software Engineer, WSO2 Inc. email : [email protected] mobile : +94 77 9110413 blog : http://thoughts.ruwan-ace.com/ www: :http://wso2.com On Tue, Apr 29, 2014 at 5:54 PM, Sanjeewa Malalgoda <[email protected]>wrote: > > > > On Tue, Apr 29, 2014 at 5:11 PM, Ajith Vitharana <[email protected]> wrote: > >> Hi All, >> >> The org.wso2.carbon.apimgt.impl has defined the >> org.wso2.carbon.apimgt.impl.internal package as a Private-Package [1] but >> there are some usage inside the other bundles. >> >> org.wso2.carbon.apimgt.hostobjects, >> org.wso2.carbon.apimgt.usage, >> org.wso2.carbon.apimgt.keymgt ..etc >> >> <Private-Package> >> * org.wso2.carbon.apimgt.impl.internal* >> </Private-Package> >> <Export-Package> >> *!org.wso2.carbon.apimgt.impl.internal.APIManagerComponent,* >> org.wso2.carbon.apimgt.impl.*, >> </Export-Package> >> >> We are getting following build failure due to the above wrong usage. And >> why do we have export(not -!) *class* instead of package ? >> > Here we need to expose only ServiceReferenceHolder to other packages to > get configs and etc. And we do not need to expose APIManagerComponent to > outside. So lets proceed accordingly. Anyway we didn't got any build > failures in builder machine. How it effect here? > > Thanks, > sanjeewa. > >> >> [1] >> https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/components/apimgt/org.wso2.carbon.apimgt.impl/1.2.2/pom.xml >> >> Installation failed. >> Cannot complete the install because one or more required items could not >> be found. >> Software being installed: WSO2 Carbon - API Store Feature 4.3.0.SNAPSHOT >> (org.wso2.carbon.apimgt.store.feature.group 4.3.0.SNAPSHOT) >> Missing requirement: org.wso2.carbon.apimgt.hostobjects 4.3.0.SNAPSHOT >> (org.wso2.carbon.apimgt.hostobjects 4.3.0.SNAPSHOT) requires 'package >> org.wso2.carbon.apimgt.impl.internal 0.0.0' but it could not be found >> Cannot satisfy dependency: >> From: WSO2 Carbon - API Store Feature 4.3.0.SNAPSHOT >> (org.wso2.carbon.apimgt.store.feature.group 4.3.0.SNAPSHOT) >> To: org.wso2.carbon.apimgt.hostobjects [4.3.0.SNAPSHOT] >> Application failed, log file location: >> /home/ajith/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1398770292994.log >> >> -- >> Ajith Vitharana. >> WSO2 Inc. - http://wso2.org >> Email : [email protected] >> Mobile : +94772217350 >> >> > > > -- > > *Sanjeewa Malalgoda* > WSO2 Inc. > Mobile : +94713068779 > > <http://sanjeewamalalgoda.blogspot.com/>blog > :http://sanjeewamalalgoda.blogspot.com/<http://sanjeewamalalgoda.blogspot.com/> > > > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > >
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
