[ 
https://issues.apache.org/jira/browse/OAK-6741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16192825#comment-16192825
 ] 

Julian Sedding commented on OAK-6741:
-------------------------------------

I agree that such tooling would be desirable. I created a (non-semantic) way to 
compare two bundles, by diffing the generated XML. However, as Chetan also 
realized, the diff would need to happen on a semantic level, because the 
descriptors can look different despite identical semantics. This "noise" makes 
manual diffing very error prone.

Talking with Robert, I mentioned, that I believe the semantic model may be 
possible to generate using the Felix SCR and MetaType implementations. Maybe 
this could be implemented in {{bnd}}'s 
[{{DiffPluginImpl}}|https://github.com/bndtools/bnd/blob/master/biz.aQute.bndlib/src/aQute/bnd/differ/DiffPluginImpl.java].

> Switch to official OSGi component and metatype annotations
> ----------------------------------------------------------
>
>                 Key: OAK-6741
>                 URL: https://issues.apache.org/jira/browse/OAK-6741
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>            Reporter: Robert Munteanu
>             Fix For: 1.8, 1.7.9
>
>
> We should remove the 'old' Felix SCR annotations and move to the 'new' OSGi 
> R6 annotations.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to