FIM to Vorto Usage
The Vorto generator is packaged as a standalone command line tool. It enables quick and easy generation of the Vorto artifacts from the functional item interfaces.
The generator requires Java 8 or newer version.
Standalone Command Line Tool
As a standalone command line tool, FIM to Vorto Converter is deprecated and will be replaced in the future with FIM to Vorto JSON generator.
The tool can be started as any other Java application:
java -jar com.prosyst.mbs.fim.fim2vorto.standalone-tool.jar -h
There are some handy arguments which configure the generation process:
usage: java -jar com.prosyst.mbs.fim.fim2vorto.standalone-tool.jar [options]
-ef,--exludefilters <arg> Comma separated Ant style input jar exclusion filter(s)
-h,--help Print help for this application
-i,--injars <arg> Comma separated input jar file(s)/directory(ies)
-if,--infilters <arg> Comma separated Ant style input jar filter(s)
-l,--libjars <arg> Comma separated lib jar file(s)/directory(ies)
-lef,--libexcludefilters <arg> Comma separated Ant style lib jar exclusion filter(s)
-lf,--libfilters <arg> Comma separated Ant style lib jar filter(s)
-o,--out <arg> Output directory where to put generated definitions
Examples:
java -jar com.prosyst.mbs.fim.fim2vorto.standalone-tool.jar -i com.prosyst.mbs.fim.simple-demo.jar -o simpledemo
java -jar com.prosyst.mbs.fim.fim2vorto.standalone-tool.jar -i ./iot-sdk/runtime/osgi/bundles -if **/*.api.jar -l ./iot-sdk.sdk/runtime/osgi/bundles -o fim2vorto