[ 
http://jira.amdatu.org/jira/browse/AMDATU-64?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=10092#action_10092
 ] 

Ivo Ladage - van Doorn commented on AMDATU-64:
----------------------------------------------

This problem cannot be fixed the way Felix is configured write now. The current 
configuration:

-1- Uses system-bundles as auto deploy directory
-2- Installs bundles on specific start levels for each other directory 
(platform-bundles=5, application-bundles=10, etc.)

Now felix.startlevel.bundle determines the default start level of bundles 
deployed with -1-
org.osgi.framework.startlevel.beginning determines the start level after the 
framework has started

Bundles deployed with fileinstall will thus get start level 
felix.startlevel.bundle
Since system-bundles are auto-deployed, they get the exact same level assigned: 
felix.startlevel.bundle

So with this setup the start level of system bundles always equals the start 
level of bundles deployed using fileinstall.
It could be fixed by replacing the deploy of system bundles with the same 
approach for other bundles (using felix.auto.start.1=...)
In the future we will probably replace this static configuration by a custom 
Felix launcher but for the time being we can just replace the auto deployed 
system-bundles with felix.auto.installs

> Newly installed bundles are assigned start level 1
> --------------------------------------------------
>
>                 Key: AMDATU-64
>                 URL: http://jira.amdatu.org/jira/browse/AMDATU-64
>             Project: Amdatu
>          Issue Type: Bug
>          Components: Deploy
>    Affects Versions: 0.0.4
>            Reporter: Ivo Ladage - van Doorn
>            Assignee: Ivo Ladage - van Doorn
>            Priority: Minor
>             Fix For: 0.0.5
>
>         Attachments: AMDATU-64.patch
>
>
> When bundles are installed using the fileinstall bundle and copying them to 
> the deploy directory, they are assigned start level 1 instead of the expected 
> start level 40

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.amdatu.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to