You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Stefan Weber (JIRA)" <ji...@apache.org> on 2009/12/10 14:52:18 UTC

[jira] Closed: (FELIX-1934) Improve feature discriptors that it can handle bundle fragements (they can't be started)

     [ https://issues.apache.org/jira/browse/FELIX-1934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Weber closed FELIX-1934.
-------------------------------

    Resolution: Invalid

Already implemented.

14:42	gertv	ah, but I think it is supported in karaf
14:42	gertv	String fragmentHostHeader = (String) d.get(Constants.FRAGMENT_HOST);
14:42	gertv	if (fragmentHostHeader == null || fragmentHostHeader.trim().length() == 0) {
14:42	gertv	// do not start bundles that are persistently stopped
14:42	gertv	if (state.installed.contains(b)
14:42	gertv	|| (b.getState() != Bundle.STARTING && b.getState() != Bundle.ACTIVE
14:42	gertv	&& getStartLevel().isBundlePersistentlyStarted(b))) {
14:42	gertv	b.start();
14:42	gertv	}
14:42	gertv	}

> Improve feature discriptors that it can handle bundle fragements (they can't be started)
> ----------------------------------------------------------------------------------------
>
>                 Key: FELIX-1934
>                 URL: https://issues.apache.org/jira/browse/FELIX-1934
>             Project: Felix
>          Issue Type: Improvement
>          Components: Karaf
>            Reporter: Stefan Weber
>
> Improve feature discriptors that it can handle bundle fragments. If you add a bundle to a feature discriptor that is a bundle fragment karaf tries to start it right away. This produces an error "Fragment bundles can not be started.". Thus the feature can't be installed.

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