You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jamie goodyear (JIRA)" <ji...@apache.org> on 2012/08/10 02:46:19 UTC

[jira] [Resolved] (KARAF-1062) make config file parser smarter

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

Jamie goodyear resolved KARAF-1062.
-----------------------------------

    Resolution: Not A Problem

The issue no longer affects 2.2.x, 2.3.x, or 3.0.x lines. Removing from open issues list.
                
> 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