You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Guillaume Nodet (Created) (JIRA)" <ji...@apache.org> on 2011/11/10 14:53:51 UTC

[jira] [Created] (CAMEL-4659) Open the range when importing org.apache.fe lix.gogo.commands package

Open the range when importing org.apache.fe lix.gogo.commands package
---------------------------------------------------------------------

                 Key: CAMEL-4659
                 URL: https://issues.apache.org/jira/browse/CAMEL-4659
             Project: Camel
          Issue Type: Bug
            Reporter: Guillaume Nodet


We need to import the package with [0.6,1) instead of [0.10,1) to be able to deploy on oder karaf versions (< 2.2.4)

--
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] [Updated] (CAMEL-4659) Open the range when importing org.apache.fe lix.gogo.commands package

Posted by "Claus Ibsen (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-4659:
-------------------------------

          Component/s: karaf
    Affects Version/s: 2.8.2
        Fix Version/s: 2.9.0
                       2.8.3
    
> Open the range when importing org.apache.fe lix.gogo.commands package
> ---------------------------------------------------------------------
>
>                 Key: CAMEL-4659
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4659
>             Project: Camel
>          Issue Type: Bug
>          Components: karaf
>    Affects Versions: 2.8.2
>            Reporter: Guillaume Nodet
>             Fix For: 2.8.3, 2.9.0
>
>
> We need to import the package with [0.6,1) instead of [0.10,1) to be able to deploy on oder karaf versions (< 2.2.4)

--
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] [Assigned] (CAMEL-4659) Open the range when importing org.apache.fe lix.gogo.commands package

Posted by "Willem Jiang (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang reassigned CAMEL-4659:
-----------------------------------

    Assignee: Willem Jiang
    
> Open the range when importing org.apache.fe lix.gogo.commands package
> ---------------------------------------------------------------------
>
>                 Key: CAMEL-4659
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4659
>             Project: Camel
>          Issue Type: Bug
>          Components: karaf
>    Affects Versions: 2.8.2
>            Reporter: Guillaume Nodet
>            Assignee: Willem Jiang
>             Fix For: 2.8.3, 2.9.0
>
>
> We need to import the package with [0.6,1) instead of [0.10,1) to be able to deploy on oder karaf versions (< 2.2.4)

--
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] [Commented] (CAMEL-4659) Open the range when importing org.apache.fe lix.gogo.commands package

Posted by "Claus Ibsen (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13148426#comment-13148426 ] 

Claus Ibsen commented on CAMEL-4659:
------------------------------------

Before the change the bundle plugin appended status=provisional to the import.
{code}
org.apache.felix.service.command;version="[0.10,1)";status=provisional
{code}

Should we do that as well?
                
> Open the range when importing org.apache.fe lix.gogo.commands package
> ---------------------------------------------------------------------
>
>                 Key: CAMEL-4659
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4659
>             Project: Camel
>          Issue Type: Bug
>          Components: karaf
>    Affects Versions: 2.8.2
>            Reporter: Guillaume Nodet
>             Fix For: 2.8.3, 2.9.0
>
>
> We need to import the package with [0.6,1) instead of [0.10,1) to be able to deploy on oder karaf versions (< 2.2.4)

--
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] [Resolved] (CAMEL-4659) Open the range when importing org.apache.fe lix.gogo.commands package

Posted by "Willem Jiang (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang resolved CAMEL-4659.
---------------------------------

    Resolution: Fixed

Applied the patch into trunk and camel 2.8.x branch.
                
> Open the range when importing org.apache.fe lix.gogo.commands package
> ---------------------------------------------------------------------
>
>                 Key: CAMEL-4659
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4659
>             Project: Camel
>          Issue Type: Bug
>          Components: karaf
>    Affects Versions: 2.8.2
>            Reporter: Guillaume Nodet
>            Assignee: Willem Jiang
>             Fix For: 2.8.3, 2.9.0
>
>
> We need to import the package with [0.6,1) instead of [0.10,1) to be able to deploy on oder karaf versions (< 2.2.4)

--
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] [Commented] (CAMEL-4659) Open the range when importing org.apache.fe lix.gogo.commands package

Posted by "Claus Ibsen (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13148382#comment-13148382 ] 

Claus Ibsen commented on CAMEL-4659:
------------------------------------

A patch
{code}
Index: pom.xml
===================================================================
--- pom.xml	(revision 1200770)
+++ pom.xml	(working copy)
@@ -71,7 +71,7 @@
           <instructions>
             <Import-Package>
               org.apache.felix.service.command,
-              org.apache.felix.gogo.commands,
+              org.apache.felix.gogo.commands;version="[0.6,1)",
               org.apache.karaf.shell.console,
               *
             </Import-Package>
{code}
                
> Open the range when importing org.apache.fe lix.gogo.commands package
> ---------------------------------------------------------------------
>
>                 Key: CAMEL-4659
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4659
>             Project: Camel
>          Issue Type: Bug
>          Components: karaf
>    Affects Versions: 2.8.2
>            Reporter: Guillaume Nodet
>             Fix For: 2.8.3, 2.9.0
>
>
> We need to import the package with [0.6,1) instead of [0.10,1) to be able to deploy on oder karaf versions (< 2.2.4)

--
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] [Commented] (CAMEL-4659) Open the range when importing org.apache.fe lix.gogo.commands package

Posted by "Willem Jiang (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13148412#comment-13148412 ] 

Willem Jiang commented on CAMEL-4659:
-------------------------------------

@Claus
I think you need to specify the version range of org.apache.felix.service.command.
If you doesn't specify it, the bundle plugin will pickup the version range according to meta-info of the bundle which is managed by the pom dependencies.
                
> Open the range when importing org.apache.fe lix.gogo.commands package
> ---------------------------------------------------------------------
>
>                 Key: CAMEL-4659
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4659
>             Project: Camel
>          Issue Type: Bug
>          Components: karaf
>    Affects Versions: 2.8.2
>            Reporter: Guillaume Nodet
>             Fix For: 2.8.3, 2.9.0
>
>
> We need to import the package with [0.6,1) instead of [0.10,1) to be able to deploy on oder karaf versions (< 2.2.4)

--
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] [Commented] (CAMEL-4659) Open the range when importing org.apache.fe lix.gogo.commands package

Posted by "Willem Jiang (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13148432#comment-13148432 ] 

Willem Jiang commented on CAMEL-4659:
-------------------------------------

Here are some information about the provisional[1], I think it is introduced by felix bundle itself.
[1]http://felix.apache.org/site/provisional-osgi-api-policy.html
                
> Open the range when importing org.apache.fe lix.gogo.commands package
> ---------------------------------------------------------------------
>
>                 Key: CAMEL-4659
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4659
>             Project: Camel
>          Issue Type: Bug
>          Components: karaf
>    Affects Versions: 2.8.2
>            Reporter: Guillaume Nodet
>            Assignee: Willem Jiang
>             Fix For: 2.8.3, 2.9.0
>
>
> We need to import the package with [0.6,1) instead of [0.10,1) to be able to deploy on oder karaf versions (< 2.2.4)

--
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] [Commented] (CAMEL-4659) Open the range when importing org.apache.fe lix.gogo.commands package

Posted by "Claus Ibsen (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13148425#comment-13148425 ] 

Claus Ibsen commented on CAMEL-4659:
------------------------------------

Thanks Willem, here is MANIFEST.MF after the change
{code}
Import-Package: javax.management,jline.console.completer;version="[2.5
 ,3)",org.apache.camel;version="[2.9,3)",org.apache.camel.model;versio
 n="[2.9,3)",org.apache.camel.spi;version="[2.9,3)",org.apache.felix.g
 ogo.commands;version="[0.6,1)",org.apache.felix.service.command;versi
 on="[0.6,1)";status=provisional,org.apache.karaf.shell.console;versio
 n="[2.2,3)",org.osgi.framework;version="[1.5,2)",org.osgi.service.blu
 eprint;version="[1.0.0,2.0.0)",org.slf4j;version="[1.6,2)"
{code}
                
> Open the range when importing org.apache.fe lix.gogo.commands package
> ---------------------------------------------------------------------
>
>                 Key: CAMEL-4659
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4659
>             Project: Camel
>          Issue Type: Bug
>          Components: karaf
>    Affects Versions: 2.8.2
>            Reporter: Guillaume Nodet
>             Fix For: 2.8.3, 2.9.0
>
>
> We need to import the package with [0.6,1) instead of [0.10,1) to be able to deploy on oder karaf versions (< 2.2.4)

--
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] [Commented] (CAMEL-4659) Open the range when importing org.apache.fe lix.gogo.commands package

Posted by "Claus Ibsen (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13148380#comment-13148380 ] 

Claus Ibsen commented on CAMEL-4659:
------------------------------------

The imports is now
{code}
Import-Package: javax.management,jline.console.completer;version="[2.5
 ,3)",org.apache.camel;version="[2.9,3)",org.apache.camel.model;versio
 n="[2.9,3)",org.apache.camel.spi;version="[2.9,3)",org.apache.felix.g
 ogo.commands;version="[0.6,1)",org.apache.felix.service.command;versi
 on="[0.10,1)";status=provisional,org.apache.karaf.shell.console;versi
 on="[2.2,3)",org.osgi.framework;version="[1.5,2)",org.osgi.service.bl
 ueprint;version="[1.0.0,2.0.0)",org.slf4j;version="[1.6,2)"
{code}

I wonder if the org.apache.felix.service.command should also be [0.6,1) range as well?
                
> Open the range when importing org.apache.fe lix.gogo.commands package
> ---------------------------------------------------------------------
>
>                 Key: CAMEL-4659
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4659
>             Project: Camel
>          Issue Type: Bug
>          Components: karaf
>    Affects Versions: 2.8.2
>            Reporter: Guillaume Nodet
>             Fix For: 2.8.3, 2.9.0
>
>
> We need to import the package with [0.6,1) instead of [0.10,1) to be able to deploy on oder karaf versions (< 2.2.4)

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