You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Christian Schneider (JIRA)" <ji...@apache.org> on 2011/05/05 15:35:03 UTC

[jira] [Updated] (KARAF-601) features:list does not show features of newly installed feature file

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

Christian Schneider updated KARAF-601:
--------------------------------------

    Attachment: KARAF-601.patch

Fixing loading of old feature files by converting the NameSpace in a filter. Additionally fixing NullPointer exception in features:list when no name is given for features.

This should resolve this issue

> features:list does not show features of newly installed feature file
> --------------------------------------------------------------------
>
>                 Key: KARAF-601
>                 URL: https://issues.apache.org/jira/browse/KARAF-601
>             Project: Karaf
>          Issue Type: Bug
>          Components: console
>    Affects Versions: 3.0.0
>         Environment: Windows 7, maven 3, java 6
>            Reporter: Christian Schneider
>         Attachments: KARAF-601.patch
>
>
> I installed a feature file containing:
> <?xml version="1.0" encoding="UTF-8"?>
> <features>
>   <feature name='camel-core' version='2.7.1' resolver='(obr)'>
>     <feature version="3.0.5.RELEASE">spring</feature>
>     <bundle dependency="true">mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.activation-api-1.1/1.7.0</bundle>
>     <bundle dependency="true">mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.jaxb-api-2.2/1.7.0</bundle>
>     <bundle dependency="true">mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.stax-api-1.0/1.7.0</bundle>
>     <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxb-impl/2.2.1.1_1</bundle>
>     <bundle>mvn:org.fusesource.commonman/commons-management/1.0</bundle>
>     <bundle>mvn:org.apache.camel/camel-core/2.7.1</bundle>
>   </feature>
> </features>
> using the command:
> features:addurl file:///tmp/apache-camel-2.7.1-features.xml
> The url is then listed in features:listurl:
> karaf@root> features:listurl
>  Loaded   URI
>   true    mvn:org.apache.karaf.assemblies.features/standard/3.0.0-SNAPSHOT/xml/features
>   true    mvn:org.apache.karaf.assemblies.features/enterprise/3.0.0-SNAPSHOT/xml/features
>   true    file:///tmp/apache-camel-2.7.1-features.xml
> But features:list does not show the camel-core feature

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira