ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Offermans (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (ACE-236) Management Agent can't wire to own exports
Date Wed, 28 Mar 2012 05:48:42 GMT

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

Marcel Offermans resolved ACE-236.
----------------------------------

    Resolution: Fixed
      Assignee: Marcel Offermans

This has been fixed by now. The management agent exports:

org.osgi.service.cm;managementagent=true;mandatory:=managementagent;uses:="org.osgi.framework";version="1.3",
org.osgi.service.deploymentadmin;managementagent=true;mandatory:=managementagent;uses:="org.osgi.framework";version="1.0",
org.osgi.service.deploymentadmin.spi;managementagent=true;mandatory:=managementagent;uses:="org.osgi.framework,org.osgi.service.deploymentadmin";version="1.0",
org.osgi.service.event;managementagent=true;mandatory:=managementagent;uses:="org.osgi.framework";version="1.2",
org.osgi.service.log;managementagent=true;mandatory:=managementagent;uses:="org.osgi.framework";version="1.3",
org.osgi.service.metatype;managementagent=true;mandatory:=managementagent;uses:="org.osgi.framework";version="1.1",
org.apache.felix.dm;managementagent=true;mandatory:=managementagent;uses:="org.osgi.framework";version="3.0",
org.apache.felix.dm.tracker;managementagent=true;mandatory:=managementagent;uses:="org.osgi.framework,org.apache.felix.dm";version="3.0",
org.apache.ace.log;managementagent=true;mandatory:=managementagent;version="0.8.1.SNAPSHOT",
org.apache.ace.deployment.service;managementagent=true;mandatory:=managementagent;uses:="org.osgi.framework";version="0.8.1.SNAPSHOT"

The deployment admin API has been fixed at 1.0 because that's what the Felix implementation
currently exports. The other imports were automatically generated by Bnd and on visual inspection
resolve just fine:

org.apache.ace.deployment.service;managementagent=true;version="[0.8,1)",
org.apache.felix.dm.tracker;managementagent=true;version="[3.0,4)",
org.osgi.framework;version="[1.5,2)",
org.osgi.service.cm;managementagent=true;version="[1.3,2)",
org.osgi.service.deploymentadmin;managementagent=true;version="[1,2)",
org.osgi.service.deploymentadmin.spi;managementagent=true;version="[1,2)",
org.osgi.service.event;managementagent=true;version="[1.2,2)",
org.osgi.service.log;managementagent=true;version="[1.3,2)",
org.osgi.service.metatype;managementagent=true;version="[1.1,2)",
org.osgi.service.packageadmin;version="[1.2,2)",
org.osgi.util.tracker;version="[1.4,2)"

                
> Management Agent can't wire to own exports
> ------------------------------------------
>
>                 Key: ACE-236
>                 URL: https://issues.apache.org/jira/browse/ACE-236
>             Project: ACE
>          Issue Type: Bug
>    Affects Versions: 0.8.0
>            Reporter: Bram de Kruijff
>            Assignee: Marcel Offermans
>
> In r1303119 the "Added mandatory attributes to the exports." resulted in the ma not being
able to wire to itself because it export the deploymentadmin at a lower version (1.0) then
its import (1.1). Spec says it is at 1.1 so the fix is simple.
> {code}
> Index: pom.xml
> ===================================================================
> --- pom.xml     (revision 1305748)
> +++ pom.xml     (working copy)
> @@ -44,7 +44,7 @@
>      <properties>
>          <export.package>
>              org.osgi.service.cm;version="1.3";managementagent=true;mandatory:=managementagent;-split-package:=first,
> -               org.osgi.service.deploymentadmin;version="1.0";managementagent=true;mandatory:=managementagent;-split-package:=first,
> +               org.osgi.service.deploymentadmin;version="1.1";managementagent=true;mandatory:=managementagent;-split-package:=first,
>                 org.osgi.service.deploymentadmin.spi;version="1.0";managementagent=true;mandatory:=managementagent;-split-package:=first,
>                 org.osgi.service.event;version="1.2";managementagent=true;mandatory:=managementagent;-split-package:=first,
>                 org.osgi.service.log;version="1.3";managementagent=true;mandatory:=managementagent;-split-package:=first,
> {code}

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

        

Mime
View raw message