Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-2444

The featuresRepositories property should support multi-lines input value in the etc/org.apache.karaf.features.cfg

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.3.3
    • 2.3.3, 2.4.0
    • karaf
    • None

    Description

      Now will get exception when set featuresRepositories value like this:

      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
      
      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)
      

      It could be better to let it support multi-lines input value which is more readable.

      Attachments

        Activity

          People

            ffang Freeman Yue Fang
            xldai Xilai Dai
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: