[
https://issues.apache.org/jira/browse/FELIX-2678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Richard S. Hall resolved FELIX-2678.
------------------------------------
Resolution: Fixed
Assignee: Richard S. Hall
I have committed a patch that allows you to specify the start level for bundles
in the auto-deploy directory using the felix.auto.deploy.startlevel property.
If this property is not set, then the normal initial bundle start level is
used, but if it is set, then all bundles in the auto-deploy directory will have
their start level set to the specified value (whether they are freshly
installed or were installed during a previous framework execution).
Note, if you set this property to a value higher than the framework's beginning
start level, then none of the auto-deploy bundles will activate, which
typically means you won't be able to interact with the shell.
Please close this issue if you are satisfied, thanks.
> Startlevel for bundles in auto.deploy.dir
> -----------------------------------------
>
> Key: FELIX-2678
> URL: https://issues.apache.org/jira/browse/FELIX-2678
> Project: Felix
> Issue Type: New Feature
> Components: Main
> Affects Versions: framework-3.0.5
> Reporter: Tobias Wunden
> Assignee: Richard S. Hall
> Priority: Minor
> Fix For: framework-3.2.0
>
>
> Right now, there is no way to specify what the start level is for bundles
> that are found in the auto deploy directory as specified by
> "felix.auto.deploy.dir" in the felix configuration. By default, it seems that
> these bundles are always loaded first as compared to other bundles defined in
> config.properties using the "felix.auto.start.<level>" properties.
> Since the shell bundles are in the bundle directory, it would be nice if one
> could specify that the shell bundles are loaded *after* the application
> bundles had been loaded, so the shell prompt would show up only then as well,
> indicating that system startup is complete.
> Thus being able to specify a <level> which is related to the <level>s on the
> "felix.auto.start" property probably makes sense.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.