GET FOLDER OF BATCH FILE
SET PrjBase=%~dp0
SET PrjBase=%PrjBase:~0,-1%
C: IF NOT EXIST C:\WIN\NUL GOTO NOWINDIR CD \WIN :NOWINDIR
IF EXIST E:\NUL GOTO USE_E
FOR %%i IN (%PrjBase%) DO IF EXIST %%~si\NUL ECHO %%~si Exists %%i
:: java -jar "%RAINBOW_HOME%\lib\rainbow.jar" -pln pipelines\_merge.pln %TargetFolder%04-post-process\pack1\manifest.rkm -rd "%PrjBase%" -np<?xml version="1.0" encoding="UTF-8"?>
<rainbowPipeline version="1"><step class="net.sf.okapi.steps.common.RawDocumentToFilterEventsStep"></step>
<step class="net.sf.okapi.steps.rainbowkit.postprocess.MergingStep">#v1
preserveSegmentation.b=false
returnRawDocument.b=false
forceTargetLocale.b=false
overrideOutputPath=</step>
</rainbowPipeline>
SET PrjBase=%~dp0
SET PrjBase=%PrjBase:~0,-1%
SET TargetFolder=target\
SET TmName=workTM
SET TmNameReverse=workTM-reversed
SET SrcLang=EN-US
SET TrgLang=FR-FR
SET Username=fliden
:: Merge a pack
:: java -jar "%RAINBOW_HOME%\lib\rainbow.jar" -pln pipelines\_merge.pln %TargetFolder%04-post-process\pack1\manifest.rkm -rd "%PrjBase%" -np
java -jar "%RAINBOW_HOME%\lib\rainbow.jar" -x TranslationKitPostProcessing %TargetFolder%04-post-process\pack1\manifest.rkm -fc okf_rainbowkit-noprompt -rd "%PrjBase%" -np
pause