I was just thinking about compile-time dependencies. However, it is
difficult to remember and enforce. I agree that annotation is the right way
forward:).

Regards,
Emily

On Mon, Feb 25, 2013 at 12:40 PM, David Bosschaert <
[email protected]> wrote:

>
>
>
> 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
>



-- 
Thanks
Emily
=================
Emily Jiang
[email protected]

Reply via email to