You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2012/10/04 08:49:07 UTC

[jira] [Commented] (KARAF-1759) No Way To Start obr Dependencies By Default

    [ https://issues.apache.org/jira/browse/KARAF-1759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13469193#comment-13469193 ] 

Jean-Baptiste Onofré commented on KARAF-1759:
---------------------------------------------

Fixed on trunk: http://svn.apache.org/viewvc?view=revision&revision=1393930
                
> No Way To Start obr Dependencies By Default
> -------------------------------------------
>
>                 Key: KARAF-1759
>                 URL: https://issues.apache.org/jira/browse/KARAF-1759
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.9
>            Reporter: Gareth Collins
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.2.10, 2.3.0, 3.0.0
>
>         Attachments: KARAF-1759.txt
>
>
> The discussion for this issue comes from here:
> http://karaf.922171.n3.nabble.com/A-Basic-OBR-Question-td4025744.html
> In summary, if I create a feature like this:
> <features name="myfeatures-1.0.0-SNAPSHOT" xmlns="http://karaf.apache.org/xmlns/features/v1.0.0">
>     <feature name="myfeature" description="My Great Feature" version="1.0.0-SNAPSHOT" resolver="(obr)">
>         <bundle start-level="80">mvn:com.mycompany/myfeature-bundle/1.0.0-SNAPSHOT</bundle>
>     </feature>
> </features>
> which pulls bundles in from an obr repository, these bundles are not started and there is no way to automatically start them.
> In the short term, it would be good to at least add the following configuration items to org.apache.karaf.features.obr.cfg:
> startBundlesByDefault = true/false
> defaultStartLevel = <number between 1 and 100>
> which could be picked up by the obr resolver and added to each BundleInfo.
> As well (this perhaps should be a separate defect), currently the obr resolved bundles are started after the feature bundles. It would be better if the order was reversed in case the feature bundles are dependent on the bundle ordering.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira