You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Clement Escoffier (Updated) (JIRA)" <ji...@apache.org> on 2012/02/21 09:14:35 UTC

[jira] [Updated] (FELIX-3356) Objectweb ASM Clashes with IPojo

     [ https://issues.apache.org/jira/browse/FELIX-3356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Clement Escoffier updated FELIX-3356:
-------------------------------------

    Affects Version/s: iPOJO-1.8.0
                       ipojo-manipulator-1.8.2
        Fix Version/s: ipojo-manipulator-1.8.4
                       ipojo-core-1.8.2
                       ipojo-composite-1.8.2
    
> Objectweb ASM Clashes with IPojo
> --------------------------------
>
>                 Key: FELIX-3356
>                 URL: https://issues.apache.org/jira/browse/FELIX-3356
>             Project: Felix
>          Issue Type: Bug
>          Components: iPOJO
>    Affects Versions: iPOJO-1.8.0, ipojo-manipulator-1.8.2
>            Reporter: Bob Ziuchkovski
>            Assignee: Clement Escoffier
>            Priority: Minor
>             Fix For: ipojo-composite-1.8.2, ipojo-core-1.8.2, ipojo-manipulator-1.8.4
>
>
> Ipojo automatically imports org.apache.felix.ipojo.architecture for bundles that it manages, and org.apache.felix.ipojo.architecture is marked as using org.objectweb.asm.  This creates conflicts for any ipojo-managed bundle that wishes to import and use a different objectweb asm version (i.e. 4.0) for non-ipojo purposes.  See the below output for an example:
> Error executing command: Error starting bundles:
> 	Unable to start bundle 107: Uses constraint violation. Unable to resolve bundle revision test.service [107.0] because it is exposed to package 'org.objectweb.asm' from bundle revisions org.objectweb.asm.all [98.0] and org.apache.felix.ipojo [99.0] via two dependency chains.
> Chain 1:
>   test.service [107.0]
>     import: (&(osgi.wiring.package=org.objectweb.asm)(version>=4.0.0)(!(version>=5.0.0)))
>      |
>     export: osgi.wiring.package=org.objectweb.asm
>   org.objectweb.asm.all [98.0]
> Chain 2:
>   test.service [107.0]
>     import: (&(osgi.wiring.package=org.apache.felix.ipojo.architecture)(version>=1.8.0))
>      |
>     export: osgi.wiring.package=org.apache.felix.ipojo.architecture; uses:=org.objectweb.asm
>     export: osgi.wiring.package=org.objectweb.asm
>   org.apache.felix.ipojo [99.0]

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