Development tools : Massive build UDTT project : Programmatic build for UDTT projects : Reference : Useful OSGI commands
  
Useful OSGI commands
The osgi shell provides commands for managing the OSGi runtime, and includes commands for listing OSGi bundles and services, and managing bundle lifecycles.
Next are listed the ones considered as most useful to know when working when BTTBuildTask. Refer to the OSGI documentation for more details.
osgi:install
Installs one or more bundles.
osgi:install [-s] [--start] urls
osgi:install file: bundle_<version>.jar
-s, --start
Starts the bundles after installation
urls
The bundle URLs, separated by whitespaces
osgi:start
Starts the bundle.
osgi:start ids
ids
The list of bundle IDs to start, separated by whitespaces
osgi:stop
Stops one or more bundles.
osgi:stop id
id
The bundle ID
osgi:uninstall
Uninstalls the specified bundle.
osgi:uninstall id
id
The bundle ID
osgi:update
Updates the bundle.
osgi:update id
id
The bundle ID
osgi:headers
Displays OSGi headers of a specified bundle (Manifest file).
osgi:headers ids
ids
A list of bundle IDs, separated by whitespaces
Go up to
Reference