I tried with 4.4 and it works there. I think I was using an image from the latest-dev build. So it might be broken there. How can I find out which version of Moose I use?

Cheers
Matt


Von: moose-dev-bounces@iam.unibe.ch [moose-dev-bounces@iam.unibe.ch]" im Auftrag von "Nicolas Anquetil [nicolas.anquetil@inria.fr]
Gesendet: Dienstag, 31. Mai 2011 15:04
Bis: Moose-related development
Betreff: [Moose-dev] Re: Multiple Annotations in Java

I just checked, in the test code of VerveineJ (test_src/ad_hoc/ReadClient.java) there is an attribute with two annotations:
    @Override
    @Deprecated
    private String num;

And I can see both AnnotationInstance in Moose (4.4).

(note: the VerveineJTest_AdHoc class leaves the output.mse file after it ran)

Could you provide an example?

nicolas


De: "Junker Matthias" <matthias.junker@dvbern.ch>
À: moose-dev@iam.unibe.ch
Envoyé: Mardi 31 Mai 2011 14:39:14
Objet: [Moose-dev] Multiple Annotations in Java

Hey,

i have a problem with Moose and Java AnnotationInstances. The problem occurs when using inFusion and also VerveineJ. When I have a class with an instance variable with two Annotations:


    @Annotation1()
    @Annotation2()
    private Object foo;


In Moose when I check this Attribute for AttributeInstances in the Moose Panel I only get the second AnnotationInstance (Annotation2).

I can build a small example if needed.

Any idea?

Cheers
Matt

_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev