[
https://issues.apache.org/jira/browse/SLING-4478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14632803#comment-14632803
]
Alex Parvulescu edited comment on SLING-4478 at 7/19/15 1:10 PM:
-----------------------------------------------------------------
Doesn't look like a NPE, it might be related to the fact that I don't have a
_SlingSettingsService_ service available even though I've installed the
_org.apache.sling.settings-1.3.6.jar_ bundle. The docs don't mention anything
[0], but is the _SlingSettingsService_ wired only in certain conditions?
Also, sling file installer 1.0.4 didn't depend at all on this service being
available, so backwards compatibility comes to mind, but this is a big release
1.0.4 to 1.1.0 so dunno if this is a valid concern or not.
[edit] To reply to my earlier question about the _SlingSettingsService_, it
looks like it might need a _StartupHandler_ service available? [1], but maybe
I'm not reading the code right.
So could this be an issue that spans to the settings bundle too?
[0]
https://sling.apache.org/documentation/bundles/sling-settings-org-apache-sling-settings.html
[1]
https://github.com/apache/sling/blob/trunk/bundles/extensions/settings/src/main/java/org/apache/sling/settings/impl/ServicesListener.java#L74
was (Author: alex.parvulescu):
Doesn't look like a NPE, it might be related to the fact that I don't have a
_SlingSettingsService_ service available even though I've installed the
_org.apache.sling.settings-1.3.6.jar_ bundle. The docs don't mention anything
[0], but is the _SlingSettingsService_ wired only in certain conditions?
Also, sling file installer 1.0.4 didn't depend at all on this service being
available, so backwards compatibility comes to mind, but this is a big release
1.0.4 to 1.1.0 so dunno if this is a valid concern or not.
[0]
https://sling.apache.org/documentation/bundles/sling-settings-org-apache-sling-settings.html
> Support run modes
> -----------------
>
> Key: SLING-4478
> URL: https://issues.apache.org/jira/browse/SLING-4478
> Project: Sling
> Issue Type: Improvement
> Components: Installer
> Reporter: Carsten Ziegeler
> Assignee: Carsten Ziegeler
> Fix For: File Installer 1.1.0
>
>
> The file installer currently does not support run modes, everything within an
> install folder is installed.
> We could support run modes by checking whether artifacts are in a folder. If
> the folder name follows the pattern install.{runModes} where runModes is the
> set of run modes separated by a dot, we only activate these artifacts if all
> run modes are active.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)