[
https://issues.apache.org/jira/browse/SLING-5969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15426348#comment-15426348
]
Bertrand Delacretaz commented on SLING-5969:
--------------------------------------------
Docs are now up to date at
https://sling.apache.org/documentation/bundles/repository-initialization.html ,
rewrote the _Providing repoinit statements from the Sling provisioning model or
other URLs_ section there.
> Support multiple model/raw sources in jcr.repoinit.RepositoryInitializer
> configuration
> --------------------------------------------------------------------------------------
>
> Key: SLING-5969
> URL: https://issues.apache.org/jira/browse/SLING-5969
> Project: Sling
> Issue Type: Improvement
> Components: Repoinit
> Affects Versions: Repoinit JCR 1.0.0
> Reporter: Bertrand Delacretaz
> Assignee: Bertrand Delacretaz
> Priority: Minor
> Fix For: Repoinit JCR 1.0.2
>
>
> As suggested by [~olli] it is convenient to use multiple URI-like references
> to define where the {{RepositoryInitializer}} gets its repoinit statements,
> something like
> {code}
> model@section:context:/resources/provisioning/model.txt
> raw:classpath://com.example.sling.repoinit/repoinit.txt
> {code}
> Dropping the existing configuration parameters is not backwards compatible
> with V1.0.0 of this module, but that looks reasonable as the new format is
> much more convenient and we've had little feedback about usage of this module
> so far. I'll add warnings in case the old parameters are still used.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)