You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Andreas Pieber (JIRA)" <ji...@apache.org> on 2011/02/20 05:04:38 UTC

[jira] Created: (KARAF-473) Support version resolving in FeatureService#getFeatures(name/version)

Support version resolving in FeatureService#getFeatures(name/version)
---------------------------------------------------------------------

                 Key: KARAF-473
                 URL: https://issues.apache.org/jira/browse/KARAF-473
             Project: Karaf
          Issue Type: New Feature
            Reporter: Andreas Pieber
            Assignee: Andreas Pieber
             Fix For: 2.2.0, 3.0.0


The problem is that FeatureService#getFeatures(name/version) does not support ranges such as (3,4]. This is a real problem if working with pax-exam and the latest features.xml. To be able to run pax-exam with karaf-2.2.0 this have to make it's way into the 2.2.0 version too

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

        

[jira] Commented: (KARAF-473) Support version resolving in FeatureService#getFeatures(name/version)

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

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

It looks good to me.
Anyway, I gonna make some deeper tests.

> Support version resolving in FeatureService#getFeatures(name/version)
> ---------------------------------------------------------------------
>
>                 Key: KARAF-473
>                 URL: https://issues.apache.org/jira/browse/KARAF-473
>             Project: Karaf
>          Issue Type: New Feature
>            Reporter: Andreas Pieber
>            Assignee: Andreas Pieber
>             Fix For: 2.2.0, 3.0.0
>
>         Attachments: 0001-KARAF-473-FeatureService-getFeatures-handles-version.patch
>
>
> The problem is that FeatureService#getFeatures(name/version) does not support ranges such as (3,4]. This is a real problem if working with pax-exam and the latest features.xml. To be able to run pax-exam with karaf-2.2.0 this have to make it's way into the 2.2.0 version too

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

       

[jira] Updated: (KARAF-473) Support version resolving in FeatureService#getFeatures(name/version)

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

Andreas Pieber updated KARAF-473:
---------------------------------

    Attachment:     (was: 0001-KARAF-473-FeatureService-getFeatures-handles-version.patch)

> Support version resolving in FeatureService#getFeatures(name/version)
> ---------------------------------------------------------------------
>
>                 Key: KARAF-473
>                 URL: https://issues.apache.org/jira/browse/KARAF-473
>             Project: Karaf
>          Issue Type: New Feature
>            Reporter: Andreas Pieber
>            Assignee: Andreas Pieber
>             Fix For: 2.2.0, 3.0.0
>
>         Attachments: 0001-KARAF-473-FeatureService-getFeatures-handles-version.patch
>
>
> The problem is that FeatureService#getFeatures(name/version) does not support ranges such as (3,4]. This is a real problem if working with pax-exam and the latest features.xml. To be able to run pax-exam with karaf-2.2.0 this have to make it's way into the 2.2.0 version too

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

        

[jira] Updated: (KARAF-473) Support version resolving in FeatureService#getFeatures(name/version)

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

Andreas Pieber updated KARAF-473:
---------------------------------

    Attachment: 0001-KARAF-473-FeatureService-getFeatures-handles-version.patch

ok, I've also attached a test to this new feature new. In addition I've tested it in various situations. If there aren't any problems reported for this patch I'll commit it tonight to master and karaf-2.2.x

> Support version resolving in FeatureService#getFeatures(name/version)
> ---------------------------------------------------------------------
>
>                 Key: KARAF-473
>                 URL: https://issues.apache.org/jira/browse/KARAF-473
>             Project: Karaf
>          Issue Type: New Feature
>            Reporter: Andreas Pieber
>            Assignee: Andreas Pieber
>             Fix For: 2.2.0, 3.0.0
>
>         Attachments: 0001-KARAF-473-FeatureService-getFeatures-handles-version.patch
>
>
> The problem is that FeatureService#getFeatures(name/version) does not support ranges such as (3,4]. This is a real problem if working with pax-exam and the latest features.xml. To be able to run pax-exam with karaf-2.2.0 this have to make it's way into the 2.2.0 version too

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

        

[jira] Resolved: (KARAF-473) Support version resolving in FeatureService#getFeatures(name/version)

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

Andreas Pieber resolved KARAF-473.
----------------------------------

    Resolution: Fixed

Committing to https://svn.apache.org/repos/asf/karaf/branches/karaf-2.2.x ...
        M       features/core/src/main/java/org/apache/karaf/features/internal/FeaturesServiceImpl.java
        M       features/core/src/test/java/org/apache/karaf/features/FeaturesServiceTest.java
Committed r1073014

Committing to https://svn.apache.org/repos/asf/karaf/trunk ...
        M       features/core/src/main/java/org/apache/karaf/features/internal/FeaturesServiceImpl.java
        M       features/core/src/test/java/org/apache/karaf/features/FeaturesServiceTest.java
Committed r1073017


> Support version resolving in FeatureService#getFeatures(name/version)
> ---------------------------------------------------------------------
>
>                 Key: KARAF-473
>                 URL: https://issues.apache.org/jira/browse/KARAF-473
>             Project: Karaf
>          Issue Type: New Feature
>            Reporter: Andreas Pieber
>            Assignee: Andreas Pieber
>             Fix For: 2.2.0, 3.0.0
>
>         Attachments: 0001-KARAF-473-FeatureService-getFeatures-handles-version.patch
>
>
> The problem is that FeatureService#getFeatures(name/version) does not support ranges such as (3,4]. This is a real problem if working with pax-exam and the latest features.xml. To be able to run pax-exam with karaf-2.2.0 this have to make it's way into the 2.2.0 version too

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

        

[jira] [Closed] (KARAF-473) Support version resolving in FeatureService#getFeatures(name/version)

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

Jamie goodyear closed KARAF-473.
--------------------------------

    
> Support version resolving in FeatureService#getFeatures(name/version)
> ---------------------------------------------------------------------
>
>                 Key: KARAF-473
>                 URL: https://issues.apache.org/jira/browse/KARAF-473
>             Project: Karaf
>          Issue Type: New Feature
>            Reporter: Andreas Pieber
>            Assignee: Andreas Pieber
>             Fix For: 2.2.0, 3.0.0
>
>         Attachments: 0001-KARAF-473-FeatureService-getFeatures-handles-version.patch
>
>
> The problem is that FeatureService#getFeatures(name/version) does not support ranges such as (3,4]. This is a real problem if working with pax-exam and the latest features.xml. To be able to run pax-exam with karaf-2.2.0 this have to make it's way into the 2.2.0 version too

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Work started: (KARAF-473) Support version resolving in FeatureService#getFeatures(name/version)

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

Work on KARAF-473 started by Andreas Pieber.

> Support version resolving in FeatureService#getFeatures(name/version)
> ---------------------------------------------------------------------
>
>                 Key: KARAF-473
>                 URL: https://issues.apache.org/jira/browse/KARAF-473
>             Project: Karaf
>          Issue Type: New Feature
>            Reporter: Andreas Pieber
>            Assignee: Andreas Pieber
>             Fix For: 2.2.0, 3.0.0
>
>
> The problem is that FeatureService#getFeatures(name/version) does not support ranges such as (3,4]. This is a real problem if working with pax-exam and the latest features.xml. To be able to run pax-exam with karaf-2.2.0 this have to make it's way into the 2.2.0 version too

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

        

[jira] Issue Comment Edited: (KARAF-473) Support version resolving in FeatureService#getFeatures(name/version)

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

Andreas Pieber edited comment on KARAF-473 at 2/21/11 3:35 AM:
---------------------------------------------------------------

ok, I've also attached a test case to this new feature now. In addition I've tested it in various situations. From my point of view I can't see any problems. 

If there aren't any problems reported for this patch I'll commit it tonight to master and karaf-2.2.x

      was (Author: pieber):
    ok, I've also attached a test to this new feature new. In addition I've tested it in various situations. If there aren't any problems reported for this patch I'll commit it tonight to master and karaf-2.2.x
  
> Support version resolving in FeatureService#getFeatures(name/version)
> ---------------------------------------------------------------------
>
>                 Key: KARAF-473
>                 URL: https://issues.apache.org/jira/browse/KARAF-473
>             Project: Karaf
>          Issue Type: New Feature
>            Reporter: Andreas Pieber
>            Assignee: Andreas Pieber
>             Fix For: 2.2.0, 3.0.0
>
>         Attachments: 0001-KARAF-473-FeatureService-getFeatures-handles-version.patch
>
>
> The problem is that FeatureService#getFeatures(name/version) does not support ranges such as (3,4]. This is a real problem if working with pax-exam and the latest features.xml. To be able to run pax-exam with karaf-2.2.0 this have to make it's way into the 2.2.0 version too

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

        

[jira] Updated: (KARAF-473) Support version resolving in FeatureService#getFeatures(name/version)

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

Andreas Pieber updated KARAF-473:
---------------------------------

    Attachment: 0001-KARAF-473-FeatureService-getFeatures-handles-version.patch

It will be (more or less) the following patch; I'll give it some further testing (and add some unit-tests) latest on monday. ASAP as karaf-2.2.0 is out I'll release pax-scanner, pax-runner and pax-exam to make integration tests work with pax-exam 1.x and karaf 2.2.x

> Support version resolving in FeatureService#getFeatures(name/version)
> ---------------------------------------------------------------------
>
>                 Key: KARAF-473
>                 URL: https://issues.apache.org/jira/browse/KARAF-473
>             Project: Karaf
>          Issue Type: New Feature
>            Reporter: Andreas Pieber
>            Assignee: Andreas Pieber
>             Fix For: 2.2.0, 3.0.0
>
>         Attachments: 0001-KARAF-473-FeatureService-getFeatures-handles-version.patch
>
>
> The problem is that FeatureService#getFeatures(name/version) does not support ranges such as (3,4]. This is a real problem if working with pax-exam and the latest features.xml. To be able to run pax-exam with karaf-2.2.0 this have to make it's way into the 2.2.0 version too

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