sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler (JIRA)" <>
Subject [jira] [Commented] (SLING-2124) Improve support for OSGi installer by distinguishing between bootstrap and app bundles
Date Mon, 04 Jul 2011 09:00:22 GMT


Carsten Ziegeler commented on SLING-2124:

Implemented a first version in revision 1142589

For usability I changed the type of the start level for the bundles list from int to String.
This allows to specify either a start level (like before) or use "boot" for bootstrapping.
Illegal start levels (non integers, negative values etc. are checked)

All bundles from the "boot" section get internally the start level -1 for easier handling

In addition it is now possible to configure a "bootDirectory"  - if this is configured and
bundles exist for the "boot" section these go into this directory
Everything else is like before
If the "boot" section exists but no "bootDirectory" is configured, these bundles go into the
default bundle directory with a start level of 1

I chose this approach of two configuration values for compatibility. It's now possible to:
use the boot section, set bundlesDirectory to "install" and bootDirectory to "bundles" and
get the desired behaviour. The default configuration did not change and all existing projects
should build like before

> Improve support for OSGi installer by distinguishing between bootstrap and app bundles
> --------------------------------------------------------------------------------------
>                 Key: SLING-2124
>                 URL:
>             Project: Sling
>          Issue Type: New Feature
>          Components: Maven Plugins and Archetypes
>    Affects Versions: Maven Launchpad Plugin 2.0.10
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: Maven Launchpad Plugin 2.1.0
> Currently all bundles are put into the launchpad at /resources/bundles and are installed
by the Sling Launchpad Bootstrap Installer
> As we have the Sling OSGi installer we should make use of it and provide a way to just
install the bootstrap bundles (like the OSGi installer) through the Launchpad and everything
else is handled by the OSGi installer.

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message