[
https://issues.apache.org/jira/browse/KARAF-2444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13740738#comment-13740738
]
Freeman Fang commented on KARAF-2444:
-------------------------------------
Hi,
It could be multiple lines currently, there just should be no whitespace
between ...features, and \.
Anyway, honor that whitespace should be reasonable.
Freeman
> The featuresRepositories property should support multi-lines input value in
> the etc/org.apache.karaf.features.cfg
> -----------------------------------------------------------------------------------------------------------------
>
> Key: KARAF-2444
> URL: https://issues.apache.org/jira/browse/KARAF-2444
> Project: Karaf
> Issue Type: Improvement
> Components: karaf-feature
> Affects Versions: 2.3.3
> Reporter: Xilai Dai
> Assignee: Freeman Fang
>
> Now will get exception when set featuresRepositories value like this:
> {code}
> featuresRepositories= \
>
> mvn:org.apache.karaf.assemblies.features/standard/2.3.3-SNAPSHOT/xml/features,
> \
> mvn:org.apache.activemq/activemq-karaf/5.8-SNAPSHOT/xml/features, \
> mvn:org.apache.camel.karaf/apache-camel/2.11.2-SNAPSHOT/xml/features
> {code}
> {code}
> Caused by: java.net.URISyntaxException: Illegal character in scheme name at
> index 0: mvn:org.apache.activemq/activemq-karaf/5.8-SNAPSHOT/xml/features
> at java.net.URI$Parser.fail(URI.java:2829)[:1.7.0_05]
> at java.net.URI$Parser.checkChars(URI.java:3002)[:1.7.0_05]
> at java.net.URI$Parser.checkChar(URI.java:3012)[:1.7.0_05]
> at java.net.URI$Parser.parse(URI.java:3028)[:1.7.0_05]
> at java.net.URI.<init>(URI.java:595)[:1.7.0_05]
> at
> org.apache.karaf.features.internal.FeaturesServiceImpl.setUrls(FeaturesServiceImpl.java:194)
> {code}
> It could be better to let it support multi-lines input value which is more
> readable.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira