Commit 83b471fe by Gunnar Billung-Meyer

update RedfishDocumentor.jar

add literals parameter to scripts/json2html.cmd
generalize Java and Python paths in scripts
parent 651ea58b
@echo off
SET PYTHON_EXE=%LOCALAPPDATA%\Programs\Python\Python36-32\python.exe
SET PYTHON_EXE=python.exe
SET PROJECT_DIR=..
SET APPLICATION=%PROJECT_DIR%\applications\csdl-to-json-convertor\csdl-to-json.py
......
@echo off
SET JAVA_EXE=%ProgramFiles%\Java\jre\bin\java.exe
SET JAVA_EXE=java.exe
SET PROJECT_DIR=..
SET APPLICATION=%PROJECT_DIR%\applications\redfish-documentor\RedfishDocumentor.jar
......@@ -10,9 +10,10 @@ SET DOC_DIR=%PROJECT_DIR%\docs
SET CONF_DIR=%PROJECT_DIR%\config
SET FILTER_FILE=%CONF_DIR%\filter.json
SET OPERATIONS_FILE=%CONF_DIR%\operations.json
SET LITERALS_FILE=%CONF_DIR%\literals.json
SET OEM_PREFIXES=EID_47597_RECSBox
"%JAVA_EXE%" -jar "%APPLICATION%" --json "%JSON_DIR%" --csdl "%CSDL_DIR%" --doc "%DOC_DIR%" --oem "%OEM_PREFIXES%" --filter "%FILTER_FILE%" --operations "%OPERATIONS_FILE%" 2>&1
"%JAVA_EXE%" -jar "%APPLICATION%" --json "%JSON_DIR%" --csdl "%CSDL_DIR%" --doc "%DOC_DIR%" --oem "%OEM_PREFIXES%" --filter "%FILTER_FILE%" --operations "%OPERATIONS_FILE%" --literals "%LITERALS_FILE%" 2>&1
if errorlevel 1 (
echo Generation of the documentation failed!
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment