You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2012/05/14 17:21:53 UTC
[jira] [Assigned] (KARAF-1062) make config file parser smarter
[ 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