Suppose my bundle contains two classes/packages, one of which is annotated with
@Header(name = "MyTag", value = "foo")
and the other with:
@Header(name = "MyTag", value = "bar")
I have noticed that one of these
@Header annotations will effectively clobber the other, and it’s not difficult to understand why. Nor is it currently causing me a problem. However, I can imagine a time when I might want my bundle’s final
MANIFEST.MF to contain this instead:
Does Bnd already support some form of “duplicates resolution” policy for manifest headers, please? Or does something make it unnecessary?
Note that my bundle currently contains multiple occurrences of just:
Header(name = "MyTag", value = "foo")
and that I do want its manifest ultimately to contain only:
which is indeed the current behaviour.