[ 
https://issues.apache.org/jira/browse/SLING-707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bertrand Delacretaz reassigned SLING-707:
-----------------------------------------

    Assignee: Bertrand Delacretaz

> jcrinstall cfg syntax too rigid, does not accept comments
> ---------------------------------------------------------
>
>                 Key: SLING-707
>                 URL: https://issues.apache.org/jira/browse/SLING-707
>             Project: Sling
>          Issue Type: Improvement
>          Components: JCR Install
>            Reporter: Bertrand Delacretaz
>            Assignee: Bertrand Delacretaz
>
> jcrinstall currently uses the Felix ConfigurationHandler to read .cfg 
> configuration files, in order to support multivalued configuration properties.
> This is not convenient for files that are meant to be written by humans, we 
> should go back to the Properties format, enhanced to support multi-valued 
> properties.
> The simplest way might be to first read a cfg file using Properties.load, and 
> convert the resulting Properties into a Dictionary.
> Suggested syntax for multivalued properties, example:
>   some.property[] = a,b,c,d
> generates a "some.property" entry in the resulting Dictionary, with 
> java.lang.reflect.Array object value containing four Strings.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to