karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Assigned] (KARAF-1062) make config file parser smarter
Date Mon, 14 May 2012 15:21:53 GMT

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

Jean-Baptiste Onofré reassigned KARAF-1062:
-------------------------------------------

    Assignee:     (was: Jean-Baptiste Onofré)
    
> make config file parser smarter
> -------------------------------
>
>                 Key: KARAF-1062
>                 URL: https://issues.apache.org/jira/browse/KARAF-1062
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-config
>            Reporter: Andrei Pozolotin
>
> 1) currently, the following config file works fine:
> org.apache.karaf.features.cfg
> #############################
> #
> # Comma separated list of features repositories to register by default
> #
> featuresRepositories=mvn:org.apache.karaf.assemblies.features/standard/2.2.4/xml/features,mvn:org.apache.karaf.assemblies.features/enterprise/2.2.4/xml/features,file:./etc/features-scala.xml
> #
> # Comma separated list of features to install at startup
> #
> featuresBoot=config,ssh,management,eventadmin,scala-library
> #############################
> 2) but if I make it more readble:
> #############################
> #
> # Comma separated list of features repositories to register by default
> #
> featuresRepositories= \
> 	mvn:org.apache.karaf.assemblies.features/standard/2.2.4/xml/features, \
> 	mvn:org.apache.karaf.assemblies.features/enterprise/2.2.4/xml/features, \
> 	file:./etc/features-scala.xml, \
> #
> # Comma separated list of features to install at startup
> #
> featuresBoot= \
> 	config, \
> 	ssh, \
> 	management, \
> 	eventadmin, \
> 	scala-library, \
> #############################
> then karaf blows up with exception;
> the following would help:
> 1) trim spaces
> 2) allow trailing commas
> 3) process variable substitutions

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message