On 8 avr. 2011, at 00:35, Nicolas Anquetil wrote:


Howdy Simon,

Hummm, VerveineJ should not be broken.
At least, it is not on my computer :-)

And it should output annotation declaration and uses.
At least the subset defined in the metamodel (an annotation argument value is always a string).

What version did you test? I commited a running version yesterday evening (but it is still not built on Hudson yet, any problem with that?).

Tests are ok except for 2. It's now a fresh update from svn.


The only two red tests, are things not implemented yet (e.g. enumeration access)

If it still does not work, can you send me an URL for your test case (I could search for it but I am lazy)


I use the petclinic sample project
https://src.springframework.org/svn/spring-samples/petclinic/trunk

To be compiled, you should run maven to download jar dependencies. However, it does not seem like it changed a thing in my case.
Maybe the jars should be added to the classpath of the parser at runtime?


Sorry, I will be away from computer this week-end so no time to look at it until sunday evening.



nicolas


----- Mail original -----
De: "Tudor Girba" <tudor.girba@gmail.com>
À: "Moose-related development" <moose-dev@iam.unibe.ch>
Envoyé: Vendredi 8 Avril 2011 00:22:12
Objet: [Moose-dev] Re: Status of Java annotation import with infusion/VerveineJ?
Actually, I think VerveineJ is broken now.

Cheers,
Doru


On 8 Apr 2011, at 00:19, Tudor Girba wrote:

Hi Simon,

On 8 Apr 2011, at 00:08, Simon Denier wrote:

Hello

What's the status of Java annotation import with
infusion/VerveineJ? I have seen some mails in the past weeks but
didn't take a close look.
Now I would like to use such information to draw dependencies
linked to Spring annotations (for dependency injection).

I tried both infusion and verveinej on the sample petclinic app for
Spring but both returned a minimalistic set of annotation types
(Override, SuppressWarnings, XmlElement, and XmlRootElement)

inFusion is not yet released. The one you are using is version 7.*.
For this one you need to add the jars where the annotations are
defined (the jars should be in a folder somewhere below the root
folder you give as input).

However, VerveineJ should already provide this info. What version
are you using? Nicolas, did I understand this part wrong?

Cheers,
Doru


Any idea what is going wrong?

--
Simon Denier




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

--
www.tudorgirba.com

"Value is always contextual."




--
www.tudorgirba.com

"Obvious things are difficult to teach."




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

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

--
Simon Denier