DODS has the possibility of converting doml file, release 5.*. As described in the section "Quick Compile" in this document, Generator Wizard has a possibility of converting doml file into html, pdf, xmi and ptl document types. The name of the target (html, pdf, xmi, ptl) files will be the same as the name of doml file that is being converted, and they would be located in output directory.
The doml file can also be converted manually. For this purpose are used files in <dods_root>/bin folder, and they are:
doml2html - converts doml 5.* file into html file.
doml2html is used with the following parameters:
doml2html [-help] [doml5*-file] [html-file]
where:
help - prints message for usage and exits.
doml5*-file - doml file relese 5.*.
html-file - desired target html file.
doml2pdf - converts doml 5.* file into pdf file.
doml2pdf is used with the following parameters:
doml2pdf [-help] [doml5*-file] [pdf-file]
where:
help - prints message for usage and exits.
doml5*-file - doml file relese 5.*.
pdf-file - desired target pdf file.
doml2xmi - converts doml 5.* file into xmi file.
doml2xmi is used with the following parameters:
doml2xmi [-help] [doml5*-file] [xmi-file]
where:
help - prints message for usage and exits.
doml5*-file - doml file relese 5.*.
xmi-file - desired target xmi file.
doml2ptl - converts doml 5.* file into ptl file.
doml2ptl is used with the following parameters:
doml2ptl [-help] [doml5*-file] [ptl-file]
where:
help - prints message for usage and exits.
doml5*-file - doml file relese 5.*.
ptl-file - desired target ptl (Rational Rose) file.
olddoml_2_doml60 - converting doml 3.1 and 5.0 into doml 6.0 file.
olddoml_2_doml60 is used with the following parameters:
olddoml_2_doml60 [-help] [olddoml-file] [doml60-file]
where:
help - prints message for usage and exits.
olddoml-file - doml file relese 3.1. or 5.0
doml60-file - desired target doml file relese 6.0.
doml31_2_conf60 - converting old style (doml 3.1) propertys of doml elements, from doml 3.1 file, to configuration file properties parameter setings in output file.
doml31_2_conf60 is used with the following parameters:
doml31_2_conf60 [-help] doml31-file confProperty60-file [defaultLazyLoading] [defaultCaching]
help - prints message for usage and exits.
doml31-file - Original doml 3.1 file
confProperty60-file - Output file where configuration properties will be written.
defaultLazyLoading - If LazyLoading is not defined in the doml file (for that table) then this value is used (values: true/false).
defaultCaching - If Caching is not defined in the doml file (for that table) then this value is used (values: true/false).
If LazyLoading (or Caching) is not defined in the doml file, and there is no default value defined (defaultLazyLoading or defaultCaching), the following line is written to the application configuration file (no value) :
DatabaseManager.DB.<database_name>.<table_name>.cache.maxCacheSize= DatabaseManager.DB.<database_name>.<table_name>.cache.initialCondition= DatabaseManager.DB.<database_name>.<table_name>.lazyLoading=