The java program in this directory executes the XSL transformation in res/transform/transform.xsl for all xml input files in res/lwm2m_object_registry which have been successfully validated against the res/schema/LWM2M.xsd schema. Output files are written to an out directory.
The program tries to update the input files before transforming them if the "-u" command line parameter is given.
- -dv,--disable-validation Disable the validation of downloaded files
- -o,--output output file path (default is 'out')
- -r,--res resource file path, with schema and transform subdirectory (default is 'res')
- -u,--update update OMA registry files (default is false)
- -url,--update-url OMA registry url (default is http://www.openmobilealliance.org/wp/DDF.xml)
All res/lwm2m_object_registry files are downloaded from [[http://www.openmobilealliance.org/wp/DDF.xml]] and [[http://www.openmobilealliance.org/wp/OMNA/LwM2M/Common.xml]]. The schema validation file is res/schema/LWM2M.xsd.
Output files are written to the directory called "out" in the working directory.
Build with gradle build
. Run with gradle run
.