Thanks Nicolas!!!!!
And this is MIT licensed I imagine (now since you work for the university we should check
how we can this cleans).
Stef
Hi all,
We have been mentionning it in past emails on the list, but we are
pleased to announce officially the first release of VerveineJ : a Java
to MSE exporter.
You can get it from
https://gforge.inria.fr/projects/verveinej/
Anonymous checkout is possible with the command:
svn checkout svn://scm.gforge.inria.fr/svn/verveinej/verveine.extractor.java
VerveineJ is based on the Eclipse JDT parser (JDT = Java Development
Toolkit) and binding resolver.
However, you don't need to install eclipse to run it, the necessary
libraries are included.
VerveineJ can be ran more or less as a java compiler, you specify the
source path, the class path, possibly the java version (1.2, 1.3, ...)
etc.
and it should create an "output.mse" file with all your entities and
their relationship (inheritances, accesses, references, and
invocations).
A shell script "verveine.sh" should help the new comers to execute
their first export:
$ verveinej <some-Java-sourcedir>
VerveineJ has already been used to create an MSE model of Eclipse (v.
3.1): >346000 FAMIX.Entities ; >7800 classes, >53500 methods, >147000
invocation, etc.
And of course it is free software, so you can get your hands dirty and
hack it to do what you need. It is as simple as visiting an AST (i.e.
Abstract Syntax Tree, of course!).
nicolas
PS: If I can find the time to get CDT (Eclipse C/C++ Development
Toolkit) to work in batch mode, a VerveineC is planned in the
not-too-distant-I-hope future.
Help welcome :-)
--
Nicolas Anquetil Univ. Lille1 / INRIA-equipe RMod
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev