A Java to JSON/MSE parser
Based on JDT, it parser java code to export it in the MSE or JSON format used by the Moose data analysis platform.
You only have to clone this project and then run verveineJ
# https
git clone https://github.com/moosetechnology/VerveineJ.git
# ssh
git clone git@github.com:moosetechnology/VerveineJ.git
The simplest command is
verveinej.sh <java-source-directory>
It will create an output.mse
(JSON format also available) file with the model extracted from the <java-source-directory>
To see what other options are available:
verveinej.sh -h
To test the project, remember that you must disable the assert
by removing (or not using) the -ea parameter.
You also need to run tests one by one (fork method in IntelliJ).
You can also use Ant or the pre-created IntelliJ build
ant junit