You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Santiago Aranda Rojas (JIRA)" <ji...@apache.org> on 2009/07/17 10:23:14 UTC

[jira] Created: (FELIX-1376) Bundle repository conflict with artifacts when deploying

Bundle repository conflict with artifacts when deploying
--------------------------------------------------------

                 Key: FELIX-1376
                 URL: https://issues.apache.org/jira/browse/FELIX-1376
             Project: Felix
          Issue Type: Bug
          Components: Bundle Repository (OBR)
    Affects Versions: bundlerepository-1.4.0
         Environment: OS: Windows XP

Java(TM) SE Runtime Environment (build 1.6.0_11-b03)
Java HotSpot(TM) Client VM (build 11.0-b16, mixed mode, sharing)
            Reporter: Santiago Aranda Rojas
            Priority: Minor


we are experiencing the following situation when using the bundle
repository 1.4.0 over felix framework 1.8.0.

The scenario is the following:

1) In the remote repository has been published one bundle (org.eclipse.osgi/3.4.0.v20080605-1900  -- Equinox) that provide the capability (org.osgi.framework; version 1.4.0)
2) When you try to install a bundle X from the bundles repository that has got a <require>  clause to org.osgi.framework; version 1.4.0. The dependency tree is being resolve including a dependency to the Equinox bundle that provides the required capability
3) During the deployment phase, the Equinox bundle is being installed in the Felix framework and a conflict appears due to the that the System
Bundle (Felix framework) exports the same package with the same version

In my opinion, I think that a wrong behaviuor is appearing due to the fact that the bundle repository is not checking if the org.osgi.framework;
version 1.4.0 is exposed and is taking the information from the repository.xml file in order to solve the bundles dependency tree.

Have you checked this behaviour with the bundle repository? Is this experienced behaviour correct according to the dependencies resolution algorithm implemented by the bundle repository?

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


[jira] Updated: (FELIX-1376) Bundle repository conflict with artifacts when deploying

Posted by "Miguel Angel Oltra (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-1376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Miguel Angel Oltra updated FELIX-1376:
--------------------------------------

    Attachment: repository.xml
                Deploy_Bundles.txt
                LocalOBR.zip

LocalOBR.zip --> constains the two bundles to be deployed in the repository in order to test the behaviuour described
Deploy_Bundles.txt --> contains the Maven command line commands in order to deploy bundles
repository.xml --> contains the data of the scenario presented just to remotely deploy the bundles

> Bundle repository conflict with artifacts when deploying
> --------------------------------------------------------
>
>                 Key: FELIX-1376
>                 URL: https://issues.apache.org/jira/browse/FELIX-1376
>             Project: Felix
>          Issue Type: Bug
>          Components: Bundle Repository (OBR)
>    Affects Versions: bundlerepository-1.4.0
>         Environment: OS: Windows XP
> Java(TM) SE Runtime Environment (build 1.6.0_11-b03)
> Java HotSpot(TM) Client VM (build 11.0-b16, mixed mode, sharing)
>            Reporter: Santiago Aranda Rojas
>            Priority: Minor
>         Attachments: Deploy_Bundles.txt, LocalOBR.zip, repository.xml
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> we are experiencing the following situation when using the bundle
> repository 1.4.0 over felix framework 1.8.0.
> The scenario is the following:
> 1) In the remote repository has been published one bundle (org.eclipse.osgi/3.4.0.v20080605-1900  -- Equinox) that provide the capability (org.osgi.framework; version 1.4.0)
> 2) When you try to install a bundle X from the bundles repository that has got a <require>  clause to org.osgi.framework; version 1.4.0. The dependency tree is being resolve including a dependency to the Equinox bundle that provides the required capability
> 3) During the deployment phase, the Equinox bundle is being installed in the Felix framework and a conflict appears due to the that the System
> Bundle (Felix framework) exports the same package with the same version
> In my opinion, I think that a wrong behaviuor is appearing due to the fact that the bundle repository is not checking if the org.osgi.framework;
> version 1.4.0 is exposed and is taking the information from the repository.xml file in order to solve the bundles dependency tree.
> Have you checked this behaviour with the bundle repository? Is this experienced behaviour correct according to the dependencies resolution algorithm implemented by the bundle repository?

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