felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FELIX-2885) The config admin bundle does not indicate its provided and required services dependencies
Date Wed, 23 Mar 2011 11:50:12 GMT

    [ https://issues.apache.org/jira/browse/FELIX-2885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13010076#comment-13010076

Guillaume Nodet commented on FELIX-2885:

So the overall idea is to have the bundle being self-described in terms of capabilities and
requirements.  The manifest already contains all of the information at the module layer level
(package imports, required bundles, etc...), but is missing the service level.   Tools such
as OBR are able to recreate the OBR Resource based on the manifest (see the createResource
methods on http://svn.apache.org/viewvc/felix/trunk/bundlerepository/src/main/java/org/apache/felix/bundlerepository/DataModelHelper.java?view=markup),
and that's what is actually used by the maven bundle plugin when generating the obr xml description.

About those headers, I think the manifest is in 90% of the bundles quite unreadable for humans,
mostly due to the use constraints which can generate very long headers, I'm not really convinced
that adding this addition information will make it less usable.   In that case, I've made
sure to generate the exact same information in the obr xml, but we could trim it down a bit
by not adding the service.description and other fields.   On the fact that those headers are
deprecated, I that's really a problem, I can change the header names, but I don't think the
names are a real problem here, are they ?

Anyway, my use case is to use OBR to compute a transitive closure of the dependencies for
a given bundle, but I don't necessarily have an real xml obr describing all the bundles. 
Most of the time, bundles are self-describing, but the ConfigAdmin isn't.

> The config admin bundle does not indicate its provided and required services dependencies
> -----------------------------------------------------------------------------------------
>                 Key: FELIX-2885
>                 URL: https://issues.apache.org/jira/browse/FELIX-2885
>             Project: Felix
>          Issue Type: Bug
>          Components: Configuration Admin
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>            Priority: Minor
>             Fix For: configadmin-1.2.10

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message