karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schneider (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-601) features:list does not show features of newly installed feature file
Date Thu, 05 May 2011 07:42:03 GMT

    [ https://issues.apache.org/jira/browse/KARAF-601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13029218#comment-13029218

Christian Schneider commented on KARAF-601:

The problem is not only validation. The jaxb umnmarshal does not work if the namespace is
not present. So the question is should I make sure that old feature files can be read?
So if old files should be readable I propose that we consider them deprecated and show a warning
like JB proposed. Then we can remove support for old files at a later time.

I would not add a property for validation rather than that I would only start validation if
the namespace is found. It was like that before my patch. It just did not work.

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

View raw message