[
https://issues.apache.org/jira/browse/FELIX-359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Richard S. Hall resolved FELIX-359.
-----------------------------------
Resolution: Fixed
Assignee: Richard S. Hall
I have modified the auto-property handling to install bundles into the default
bundle start level if no start level is specified. Alin, could you check to see
if this meets your needs? If so, could you close this bug. Thanks.
> felix.auto.install, felix.auto.start and felix.startlevel.bundles
> -----------------------------------------------------------------
>
> Key: FELIX-359
> URL: https://issues.apache.org/jira/browse/FELIX-359
> Project: Felix
> Issue Type: Improvement
> Components: Framework
> Affects Versions: 1.0.0
> Reporter: Alin Dreghiciu
> Assignee: Richard S. Hall
> Priority: Minor
>
> Hi guys,
> Felix supports the the felix.auto.install.<n>, felix.auto.start.<n> as
> follows (from Felix.java) :
> int startLevel = 1;
> try
> {
> startLevel =
> Integer.parseInt(key.substring(key.lastIndexOf('.') + 1));
> }
> catch (NumberFormatException ex)
> {
> m_logger.log(Logger.LOG_ERROR, "Invalid property: " +
> key);
> }
> Could this be changed a bit so it will allow the install/start property to be
> set without the .<n> = start level. It does that also now but it will log an
> error to the console and start the bundles on start level 1.
> Shouldn't actually start the bundles in this case at the value set by
> felix.startlevel.bundles or at the persisted value corresponding to this
> variable. Indeed starting without the .<n> is not a correct start up but
> since the handling code is there it will be only a minor change.
> If possible I would like to have also the logging removed or be done at a
> lower level as trace/debug as even if is reported as error felix still uses
> the value of property.
> My use case for this is: I want to start the bundles at the default set start
> level whatever that value will be.
> Thanx,
> Alin Dreghiciu
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.