On 25 February 2013 12:23, Felix Meschberger <[email protected]> wrote:

> I prefer annotations (and I truly hate the serialVersionUID ;-) )
>
> Yes, this brings a compile time dependency, but I don't think that is an
> issue -- particularly considering the use of other annotations like the BND
> @Version and @Export annotations in package-info.java or the DS annotations
> etc.
>

You can avoid the @Version and @Export annotations and hence their
dependencies if you use a packageinfo file (instead of package-info.java).
Well at least packageinfo definitely supports version, not sure it supports
@Export but this one is rarely used if you ask me and packageinfo could be
easily extended to support that one as well...

Cheers,

David

Reply via email to