[
https://issues.apache.org/jira/browse/SLING-2372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carsten Ziegeler resolved SLING-2372.
-------------------------------------
Resolution: Fixed
Refactored the code a little bit and created a new StartupHandler class for
detection.
The code relies on already available information: the bootstrapinstaller.ser
file
written to the bundle private data of the system bundle.
Implemented in Revision: 1232820
> Detect startup mode
> -------------------
>
> Key: SLING-2372
> URL: https://issues.apache.org/jira/browse/SLING-2372
> Project: Sling
> Issue Type: New Feature
> Components: Launchpad
> Affects Versions: Launchpad Base 2.3.0
> Reporter: Carsten Ziegeler
> Assignee: Carsten Ziegeler
> Fix For: Launchpad Base 2.4.0
>
>
> Currently the bootstrap installer detects if a new startup contains newer
> bundles and installs/updates them accordingly
> We could generalize this and provide a startup mode detection which is able
> to distinguish between a fresh startup (install), a simple restart or an
> update.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira