I ran into two issues testing this:

1) With regard to *;managementagent=true. In the current setup the rp will wire to the configadmin of the ma. Thus it will never deliver any config to the multi-tenant configadmin. If we want to be ale to configure both the ma and the platform we will probably need seperate rps

This is what works for me, but off course in this case the rp wont be able to wire to the ma eventadmin.

@@ -74,12 +74,9 @@
             </Private-Package>
             <Export-Package />
             <Import-Package>
-              ${amdatu.build.importpackage.extra},
-              org.osgi.framework,
-              org.osgi.util.tracker,
               org.osgi.service.deploymentadmin;version="[1,2)";managementagent=true,
               org.osgi.service.deploymentadmin.spi;version="[1,2)";managementagent=true,
-              *;managementagent=true
+              *
             </Import-Package>
             <DeploymentPackage-Customizer>true</DeploymentPackage-Customizer>
             <Deployment-ProvidesResourceProcessor>org.osgi.deployment.rp.autoconf</Deployment-ProvidesResourceProcessor>

2) Simply trying if this works with the release subsequently fails on the fact that the fileinstall-autoconf does not wire to the ma deploymentadmin packages.

This is what works for me

@@ -64,6 +64,8 @@
               org.amdatu.fileinstall.autoconf
             </Private-Package>
             <Import-Package>
+              org.osgi.service.deploymentadmin;version="[1,2)";managementagent=true,
+              org.osgi.service.deploymentadmin.spi;version="[1,2)";managementagent=true,
               *
             </Import-Package>
             <Embed-Dependency>
Change By: Bram de Kruijff (03/Apr/12 10:08 AM)
Resolution: Fixed
Status: Resolved Reopened
Assignee: Bram de Kruijff Marcel Offermans
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Amdatu-developers mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-developers

Reply via email to