[
https://issues.apache.org/jira/browse/FELIX-1446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12740125#action_12740125
]
Richard S. Hall commented on FELIX-1446:
----------------------------------------
Updated auto-deploy feature to use "actions" to determine how discovered
bundles are processed. The felix.auto.deploy.action property is a
comma-delimited list of the following actions: install, start, update, and
uninstall.
install = install any discovered bundles in the auto-deploy directory.
start = start any discovered bundles in the auto-deploy directory.
update = update any discovered bundles in the auto-deploy directory if they are
already installed.
uninstall = uninstall any installed bundles that are not discovered in the
auto-deploy directory.
Note that start does not imply install, so if only start is specified, then it
will only start bundles discovered in the auto-deploy directory if they were
previously installed. Also note that there is no default value for this
property and leaving it undefined or blank is the equivalent of disabling it.
> Framework launcher should automatically deploy bundles in bundle directory
> --------------------------------------------------------------------------
>
> Key: FELIX-1446
> URL: https://issues.apache.org/jira/browse/FELIX-1446
> Project: Felix
> Issue Type: New Feature
> Components: Main
> Affects Versions: felix-1.8.1
> Reporter: Richard S. Hall
> Assignee: Richard S. Hall
> Fix For: felix-2.0.0
>
>
> The approach for managing which bundles are automatically deployed when the
> framework starts is somewhat configuration intensive; i.e., you must always
> edit the configuration properties. It seems we could simplify this process by
> treating the 'bundle' directory as an auto-deploy directory, where its
> contained bundles are installed and started when the framework is started.
> With this approach, the user does not need to edit the configuration file to
> add or remove bundles from framework startup, he or she simply needs to add
> or remove bundles from the bundle directory.
> This is similar to how File Install works, but it is not a run-time mechanism
> like File Install, it is only at startup time. Originally, I had thought
> about actually using File Install, but I think it is too complicated for the
> launcher, especially with respect to threading.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.