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

Eric Norman commented on SLING-11571:
-------------------------------------

repoinit-parser - Pull Request #25 contains the proposed changes to the parser 
for review and feedback

> repoinit: allow add or remove mixin types
> -----------------------------------------
>
>                 Key: SLING-11571
>                 URL: https://issues.apache.org/jira/browse/SLING-11571
>             Project: Sling
>          Issue Type: New Feature
>          Components: Repoinit
>            Reporter: Eric Norman
>            Assignee: Eric Norman
>            Priority: Major
>             Fix For: Repoinit Parser 1.7.2, Repoinit JCR 1.1.42, Feature 
> Model Analyser 1.6.8, slingfeature-maven-plugin 1.6.8
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The use case here is for a node that is created by a base feature.  Other 
> (optional) features could add a mixin to the existing node later if they are 
> also included in the distribution.
> The proposed syntax would be:
> {code:java}
> add mixin mix:one to /thePath1
> add mixin mix:one,mix:two to /thePath1,/thePath2
> remove mixin mix:one from /thePath1
> remove mixin mix:one,mix:two from /thePath1,/thePath2
> {code}
> If the specified paths do not exist, a warning is logged and nothing is 
> changed.  Otherwise, the mixin is added (or removed) from those paths.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to