[
https://issues.apache.org/jira/browse/SLING-7504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17169826#comment-17169826
]
Carsten Ziegeler commented on SLING-7504:
-----------------------------------------
Sorry, but I'm still not understanding the use case fully.
I understand that it makes sense to set sling.fileinstall.dir ootb - we can
just do this. The directory can be created later on by the user.
Now, if we want to be more user friendly and create that directory for the
user, then this can be done in two places: either in launchpad base or in the
fileinstall bundle; but in both cases I think it needs an option telling that
this is the wanted desire.
It this is added to launchpad base, then launchpad base (probably the Loader
class) will inspect that new property together with sling.fileinstall.dir and
create the directory if it doesn't exist
Similar, if this code is added to the fileinstall bundle, the activator will
inspect the new property and create the dirs if they do not exist.
>From that, it seems the fileinstall bundle is the better location as this
>works regardless of which launcher is used and it does not add special logic
>to handle this property where it doesn't belong. But again, it needs an opt-in
>property
If your use case is different and you want to have that directory even before
the user starts the starter jar, then the question is, what is the user using?
> Sling File Installer Provider inactive in Sling Starter
> -------------------------------------------------------
>
> Key: SLING-7504
> URL: https://issues.apache.org/jira/browse/SLING-7504
> Project: Sling
> Issue Type: Improvement
> Components: Launchpad
> Reporter: Konrad Windszus
> Priority: Major
> Fix For: Starter 12
>
>
> Even in the newest Starter 11 the framework property for the Sling File
> Installer is not set by default. This should be fixed. The relevant framework
> property is {{sling.fileinstall.dir}}. I propose to set this to
> {{${sling.home}/install}}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)