You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2011/07/04 11:00:22 UTC

[jira] [Commented] (SLING-2124) Improve support for OSGi installer by distinguishing between bootstrap and app bundles

    [ https://issues.apache.org/jira/browse/SLING-2124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13059363#comment-13059363 ] 

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: https://issues.apache.org/jira/browse/SLING-2124
>             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: http://www.atlassian.com/software/jira