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/04/28 17:39:03 UTC

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

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

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

Posted by "Christian Schneider (JIRA)" <ji...@apache.org>.
     [ 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

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

Posted by "Christian Schneider (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Schneider reassigned KARAF-601:
-----------------------------------------

    Assignee: Christian Schneider  (was: Jean-Baptiste Onofré)

> 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
>            Assignee: Christian Schneider
>             Fix For: 3.0.0
>
>         Attachments: KARAF-601-2.patch, KARAF-601-3.patch, KARAF-601-4.patch, 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

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

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13029819#comment-13029819 ] 

Jean-Baptiste Onofré commented on KARAF-601:
--------------------------------------------

Thanks for the patch Christian.

I'm gonna review it, test and apply on both trunk and karaf-2.2.x branch.

> 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
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.2.1, 3.0.0
>
>         Attachments: KARAF-601-2.patch, KARAF-601-3.patch, KARAF-601-4.patch, 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

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

Posted by "Christian Schneider (JIRA)" <ji...@apache.org>.
     [ 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-4.patch

Sometimes I am too fast hitting the upload button :-) This one should 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
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.2.1, 3.0.0
>
>         Attachments: KARAF-601-2.patch, KARAF-601-3.patch, KARAF-601-4.patch, 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

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

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated KARAF-601:
---------------------------------------

    Fix Version/s:     (was: 2.2.1)

I need more time to review completely the patch and make all required tests.

Moreover, I tested on karaf-2.2.x branch I can't reproduce it. So this issue is not for 2.2.1 release:

karaf@root> features:addurl file:///home/jb/features.xml
karaf@root> features:listurl
 Loaded   URI
  true    mvn:org.apache.karaf.assemblies.features/standard/2.2.1-SNAPSHOT/xml/features
  true    file:///home/jb/features.xml
  true    mvn:org.apache.karaf.assemblies.features/enterprise/2.2.1-SNAPSHOT/xml/features
karaf@root> features:list
[...]
[uninstalled] [2.7.1          ] camel-core                    repo-0
[...]

> 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
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 3.0.0
>
>         Attachments: KARAF-601-2.patch, KARAF-601-3.patch, KARAF-601-4.patch, 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

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

Posted by "Christian Schneider (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13027330#comment-13027330 ] 

Christian Schneider commented on KARAF-601:
-------------------------------------------

The problem is that the features file does not contain a namespace definition. So the parser loads it and there even is a features variable but it contains only null for each attribute. So when listing the features none are found.

I talked to jbonofre on irc. He said that we do not want to load old style feature files without namespaces. So I will add checks to make sure an error is displayed when such a file is loaded. I will also adjusst the camel and cxf feature files on trunk to make sure they contain namespace definitions.

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

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

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré reassigned KARAF-601:
------------------------------------------

    Assignee: Jean-Baptiste Onofré

> 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
>            Assignee: Jean-Baptiste Onofré
>         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

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

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13029335#comment-13029335 ] 

Jean-Baptiste Onofré commented on KARAF-601:
--------------------------------------------

After a quick review, the patch looks good.

I will apply on trunk, but I think it could be helpful to install on karaf-2.2.x also.

Let me apply on both and make some tests.

> 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
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.2.1, 3.0.0
>
>         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

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

Posted by "Christian Schneider (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Schneider closed KARAF-601.
-------------------------------------


> 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
>            Assignee: Christian Schneider
>             Fix For: 3.0.0
>
>         Attachments: KARAF-601-2.patch, KARAF-601-3.patch, KARAF-601-4.patch, 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

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

Posted by "Christian Schneider (JIRA)" <ji...@apache.org>.
     [ 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-3.patch

Refactored the features:list command

> 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
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.2.1, 3.0.0
>
>         Attachments: KARAF-601-2.patch, KARAF-601-3.patch, 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

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

Posted by "Christian Schneider (JIRA)" <ji...@apache.org>.
     [ 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-2.patch

Still had some Nullpointer issues in features:list when name=null fixed them in this patch

> 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
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.2.1, 3.0.0
>
>         Attachments: KARAF-601-2.patch, 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

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

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13029211#comment-13029211 ] 

Jean-Baptiste Onofré commented on KARAF-601:
--------------------------------------------

After rethinking of that, on trunk and karaf-2.2.x, Karaf should deploy the features and just raise a warning if the namespace is not present.

We can also add a property like -Dkaraf.feature.validation=false|true to define the default Karaf policy.

WDYT ?

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

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

Posted by "Achim Nierbeck (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13029212#comment-13029212 ] 

Achim Nierbeck commented on KARAF-601:
--------------------------------------

+1 for making it optional

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

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

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on KARAF-601 started by Jean-Baptiste Onofré.

> 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
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.2.1, 3.0.0
>
>         Attachments: KARAF-601-2.patch, KARAF-601-3.patch, KARAF-601-4.patch, 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

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

Posted by "Christian Schneider (JIRA)" <ji...@apache.org>.
    [ 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/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

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

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated KARAF-601:
---------------------------------------

    Fix Version/s: 3.0.0
                   2.2.1

> 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
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.2.1, 3.0.0
>
>         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

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

Posted by "Christian Schneider (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Schneider resolved KARAF-601.
---------------------------------------

    Resolution: Fixed

patch committed. Old feature files are now supported with a warning

> 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
>            Assignee: Christian Schneider
>             Fix For: 3.0.0
>
>         Attachments: KARAF-601-2.patch, KARAF-601-3.patch, KARAF-601-4.patch, 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

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

Posted by "Christian Schneider (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13037894#comment-13037894 ] 

Christian Schneider commented on KARAF-601:
-------------------------------------------

Yes .. the problem should not occur on karaf 2.2. as the feature file is still in the old format there

> 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
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 3.0.0
>
>         Attachments: KARAF-601-2.patch, KARAF-601-3.patch, KARAF-601-4.patch, 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