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 (JIRA)" <ji...@apache.org> on 2009/09/04 12:03:12 UTC

[jira] Created: (CAMEL-1988) Better OSGi metadata to allow deploying multiple camel versions in the same OSGi framework

Better OSGi metadata to allow deploying multiple camel versions in the same OSGi framework
------------------------------------------------------------------------------------------

                 Key: CAMEL-1988
                 URL: https://issues.apache.org/activemq/browse/CAMEL-1988
             Project: Apache Camel
          Issue Type: Improvement
            Reporter: Guillaume Nodet
            Priority: Critical




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CAMEL-1988) Better OSGi metadata to allow deploying multiple camel versions in the same OSGi framework

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

Guillaume Nodet updated CAMEL-1988:
-----------------------------------

    Attachment: CAMEL-1998.patch

Attached is a patch that does the needed modifications on camel-core and camel-spring.

For other components, the work is the same:

#1  for each package exported by the bundle, add an entry in the import property to not import this package:
    for example, camel-spring has the following export:
          org.apache.camel.spring*;${camel.osgi.version},
   so we need to add the following line to the import:
         !org.apache.camel.spring

#2 for the versioning, all imported camel packages should be handled using the following scheme:
       org.apache.camel*;${camel.osgi.import.camel.version},

Note that the order is important iirc, and exclusions (#1) must be put first, and inclusions (#2) after, but before the "*".


To check everything is ok, build, then open the target/classes/META-INF/MANIFEST.MF and check that none of the imported package is imported, and that all packages imported from camel have a range [2.1,2.2).


> Better OSGi metadata to allow deploying multiple camel versions in the same OSGi framework
> ------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-1988
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1988
>             Project: Apache Camel
>          Issue Type: Improvement
>            Reporter: Guillaume Nodet
>            Priority: Critical
>         Attachments: CAMEL-1998.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CAMEL-1988) Better OSGi metadata to allow deploying multiple camel versions in the same OSGi framework

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

Guillaume Nodet updated CAMEL-1988:
-----------------------------------

    Fix Version/s: 1.6.2

> Better OSGi metadata to allow deploying multiple camel versions in the same OSGi framework
> ------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-1988
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1988
>             Project: Apache Camel
>          Issue Type: Improvement
>    Affects Versions: 1.6.1, 2.0.0
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>            Priority: Critical
>             Fix For: 1.6.2, 2.1.0
>
>         Attachments: CAMEL-1998.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CAMEL-1988) Better OSGi metadata to allow deploying multiple camel versions in the same OSGi framework

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

Guillaume Nodet resolved CAMEL-1988.
------------------------------------

    Resolution: Fixed

Marking this issue as resolved as mostly everyhing is in place.
I will open a new issue for the schema versioning problem.

> Better OSGi metadata to allow deploying multiple camel versions in the same OSGi framework
> ------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-1988
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1988
>             Project: Apache Camel
>          Issue Type: Improvement
>    Affects Versions: 1.6.1, 2.0.0
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>            Priority: Critical
>             Fix For: 1.6.2, 2.1.0
>
>         Attachments: CAMEL-1998.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CAMEL-1988) Better OSGi metadata to allow deploying multiple camel versions in the same OSGi framework

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

Claus Ibsen updated CAMEL-1988:
-------------------------------

    Affects Version/s: 1.6.1
                       2.0.0
        Fix Version/s: 2.1.0

> Better OSGi metadata to allow deploying multiple camel versions in the same OSGi framework
> ------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-1988
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1988
>             Project: Apache Camel
>          Issue Type: Improvement
>    Affects Versions: 1.6.1, 2.0.0
>            Reporter: Guillaume Nodet
>            Priority: Critical
>             Fix For: 2.1.0
>
>         Attachments: CAMEL-1998.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Work started: (CAMEL-1988) Better OSGi metadata to allow deploying multiple camel versions in the same OSGi framework

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

Work on CAMEL-1988 started by Guillaume Nodet.

> Better OSGi metadata to allow deploying multiple camel versions in the same OSGi framework
> ------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-1988
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1988
>             Project: Apache Camel
>          Issue Type: Improvement
>    Affects Versions: 1.6.1, 2.0.0
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>            Priority: Critical
>             Fix For: 2.1.0
>
>         Attachments: CAMEL-1998.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (CAMEL-1988) Better OSGi metadata to allow deploying multiple camel versions in the same OSGi framework

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

Guillaume Nodet reassigned CAMEL-1988:
--------------------------------------

    Assignee: Guillaume Nodet

> Better OSGi metadata to allow deploying multiple camel versions in the same OSGi framework
> ------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-1988
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1988
>             Project: Apache Camel
>          Issue Type: Improvement
>    Affects Versions: 1.6.1, 2.0.0
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>            Priority: Critical
>             Fix For: 2.1.0
>
>         Attachments: CAMEL-1998.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.