...
Anchor | ||||
---|---|---|---|---|
|
Bundle Auto-Deploy
To minimize the amount of configuration necessary to install bundles when you launch the framework, the Felix launcher uses the concept of an "auto-deploy" directory. The Felix launcher deploys all bundles in the auto-deploy directory into the framework instance during startup. By default, the auto-deploy directory is "bundle
" in the current directory, but it can be specified on the command line like this:
No Format |
---|
java -jar bin/felix.jar -b /path/to/dir
|
Specifying an auto-deploy directory replaces the default directory, it does not augment it. The default deployment actions performed on the bundles in the auto-deploy directory are: install, update, and start. Both the location of the auto-deploy directory and the deployment actions performed can be controlled by the following configuration properties, respectively:
felix.auto.deploy.dir
- Specifies the auto-deploy directory from which bundles are automatically deploy at framework startup. The default is thebundle/
directory of the current directory.felix.auto.deploy.action
- Specifies the auto-deploy actions to be found on bundle JAR files found in the auto-deploy directory. The possible actions areinstall
,update
,start
, anduninstall
. The default value isinstall
,update
, andstart
.
The next section describes how to set and use configuration properties.
Anchor | ||||
---|---|---|---|---|
|
...