On 03/07/07, Jochen Kuhnle <[EMAIL PROTECTED]> wrote:
I don't think multiple annotations of the same type are possible, i.e.

@Goal(...)
@Goal(...)
class MyMojo {
}

does not work. At least with Eclipse ;-)

Well I never, good point :)  From JLS 9.7:

"It is a compile-time error if a declaration is annotated with more
than one annotation for a given annotation type."

A meta-annotation could have been useful to control this.  Ignore my
ramblings then.. ;)

Cheers,

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to