You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Alin Dreghiciu (JIRA)" <ji...@apache.org> on 2009/04/30 00:45:30 UTC

[jira] Commented: (FELIX-1102) Make gshell-core really independant of the MainService

    [ https://issues.apache.org/jira/browse/FELIX-1102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12704388#action_12704388 ] 

Alin Dreghiciu commented on FELIX-1102:
---------------------------------------

Juts to be sure. Is this issue solving what I posted on SMXK list a while ago?

1. MainService location:
To have LocalConsole working from org.apache.servicemix.kernel.gshell.core it needs org.apache.servicemix.kernel.main.spi which even if is marked optional (I believe that is valid only when the remote console is used)  it will fail if there is no exporter for the package. Now the exporter is org.apache.servicemix.kernel.main but it does not sound right to me to just install that jar, which includes felix and other osgi packages.
My suggestion: create another bundle just for spi package or handle the case that the MainService class is not there especially in relation with next item.

where your (Guillaume) answer was: 
Yeah, that may be a good idea.  Though I don't see why it would fail if there is no exporter.  I guess this is a problem in the gshell-core bundle, for which the dependency is not really optional.  We should fix this first, then see if it would be better to split this interface from the main jar, which is imho a separate issue.




> Make gshell-core really independant of the MainService
> ------------------------------------------------------
>
>                 Key: FELIX-1102
>                 URL: https://issues.apache.org/jira/browse/FELIX-1102
>             Project: Felix
>          Issue Type: Improvement
>          Components: Karaf
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.