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 [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
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" <[hidden email]> _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
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: [hidden email] [[hidden email]]" im Auftrag von "Nicolas Anquetil [[hidden email]]
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" <[hidden email]> _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Hi Matt,
Unfortunately, you cannot know the Moose build version :(, but you can simply send the MSE file and we check it and possibly write a test to see if it is like that. Cheers, Doru On 31 May 2011, at 16:01, Junker Matthias wrote: > 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: [hidden email] [[hidden email]]" im Auftrag von "Nicolas Anquetil [[hidden email]] > 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" <[hidden email]> > À: [hidden email] > 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 > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev > > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev -- www.tudorgirba.com "Value is always contextual." _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Free forum by Nabble | Edit this page |