forked from WorldHealthOrganization/smart-immunizations
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_processDataDictionary.bat
More file actions
22 lines (20 loc) · 876 Bytes
/
_processDataDictionary.bat
File metadata and controls
22 lines (20 loc) · 876 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
@ECHO off
SET tooling_jar=tooling-1.4.1-SNAPSHOT-jar-with-dependencies.jar
SET input_cache_path=%~dp0input-cache
SET datadictionary_directory=input/datadictionary/
SET datadictionary_filename=%datadictionary_directory%\IMZDAKDataDictionaryDRAFT.xlsx
SET datadictionary_sheetname=Master-1.0
SET scope=Core
SET tooling=%input_cache_path%\%tooling_jar%
SET upper_path=%%~dpx
if EXIST "%tooling%" (
JAVA -jar "%tooling%" -ProcessAcceleratorKit -s="%scope%" -pts="%datadictionary_filename%" -dep="%datadictionary_sheetname%" -op=.
) ELSE (
ECHO "%tooling%"
if EXIST "%tooling%" (
JAVA -jar $tooling -ProcessAcceleratorKit -s=$scope -pts=./input/datadictionary/$datadictionary_filename -dep=$datadictionary_sheetname -op=.
) ELSE (
ECHO [91m ProcessAcceloratorKit NOT FOUND in input-cache or parent folder. Please run _updateCQFTooling. Aborting...
ECHO [0m
)
)