@ECHO OFF
CALL C_BEGIN.BAT
IF "%I_SET_ZIP_SW%"=="YES"          GOTO SKIP_OBFUSCATE1
IF NOT EXIST II_OBFUSCATE.OBFUSCATE GOTO SKIP_OBFUSCATE1
:LOOP
IF NOT EXIST ..\i-download\obfuscar\obfuscar.console.exe ECHO NOT FOUND ..\i-download\obfuscar\obfuscar.console.exe&PAUSE&GOTO LOOP
IF EXIST ..\%I_VER%_BIN_OBFUSCATE\ORG GOTO SKIP_ORG
MKDIR                                         ..\%I_VER%_BIN_OBFUSCATE\ORG
REM (仛Linux枹懳墳張棟曐棷拞仛) IF EXIST ..\%I_VER%_BIN\CLIENT_UD\IMENU* MOVE /Y ..\%I_VER%_BIN\CLIENT_UD\IMENU* ..\%I_VER%_BIN_OBFUSCATE\ORG   
IF EXIST ..\%I_VER%_BIN\CLIENT_WD\IMENU* MOVE /Y ..\%I_VER%_BIN\CLIENT_WD\IMENU* ..\%I_VER%_BIN_OBFUSCATE\ORG   
REM (仛Linux枹懳墳張棟曐棷拞仛) IF EXIST ..\%I_VER%_BIN\SERVER_UD\ITIME* MOVE /Y ..\%I_VER%_BIN\SERVER_UD\ITIME* ..\%I_VER%_BIN_OBFUSCATE\ORG   
IF EXIST ..\%I_VER%_BIN\SERVER_WD\ITIME* MOVE /Y ..\%I_VER%_BIN\SERVER_WD\ITIME* ..\%I_VER%_BIN_OBFUSCATE\ORG  
REM MOVE /Y ..\%I_VER%_BIN\CLIENT_WD\%I_VER%JAVA* ..\%I_VER%_BIN_OBFUSCATE\ORG  
:SKIP_ORG
IF NOT EXIST ..\%I_VER%_BIN_OBFUSCATE\OLD MKDIR  ..\%I_VER%_BIN_OBFUSCATE\OLD
IF NOT EXIST ..\%I_VER%_BIN_OBFUSCATE\NEW MKDIR  ..\%I_VER%_BIN_OBFUSCATE\NEW
REM PAUSE
:SKIP_OBFUSCATE1
IF EXIST ..\%I_VER%_BIN\*.* ERASE /S /Q ..\%I_VER%_BIN\*.* >NUL
CALL 91_ALL_COMPILE_D.BAT CONT 
IF "%I_SET_ZIP_SW%"=="YES"      GOTO SKIP_OBFUSCATE2
IF EXIST II_OBFUSCATE.OBFUSCATE GOTO OBFUSCATE2 
:SKIP_OBFUSCATE2
IF NOT "%I_VER_J%"=="" CALL 92_ALL_COMPILE_J.BAT CONT
IF NOT "%I_VER_C%"=="" CALL 93_ALL_COMPILE_C.BAT CONT
:OBFUSCATE2
IF "%I_SET_ZIP_SW%"=="YES"          GOTO SKIP_OBFUSCATE3
IF NOT EXIST II_OBFUSCATE.OBFUSCATE GOTO SKIP_OBFUSCATE3
REM IF EXIST ..\%I_VER%_BIN_OBFUSCATE\OLD\*.* ERASE /S /Q ..\%I_VER%_BIN_OBFUSCATE\OLD\*.* >NUL
REM (仛Linux枹懳墳張棟曐棷拞仛) MOVE /Y ..\%I_VER%_BIN\CLIENT_UD\IMENUUD.dl? ..\%I_VER%_BIN_OBFUSCATE\OLD   
MOVE /Y ..\%I_VER%_BIN\CLIENT_WD\IMENUWD.dl? ..\%I_VER%_BIN_OBFUSCATE\OLD   
REM (仛Linux枹懳墳張棟曐棷拞仛) MOVE /Y ..\%I_VER%_BIN\SERVER_UD\ITIMEUD.dl? ..\%I_VER%_BIN_OBFUSCATE\OLD   
MOVE /Y ..\%I_VER%_BIN\SERVER_WD\ITIMEWD.dl? ..\%I_VER%_BIN_OBFUSCATE\OLD  
REM (仛Linux枹懳墳張棟曐棷拞仛) (C_OBFUSCAR.XML)   
PUSHD ..\%I_VER%_BIN_OBFUSCATE
..\i-download\obfuscar\obfuscar.console.exe ..\i-language\C_OBFUSCAR.XML > %I_TMP%\obfuscar.log 2>&1
POPD
%I_XCOPYF% ..\%I_VER%_BIN_OBFUSCATE\NEW\IMENUUD.* ..\%I_VER%_BIN\CLIENT_UD 
%I_XCOPYF% ..\%I_VER%_BIN_OBFUSCATE\NEW\IMENUWD.* ..\%I_VER%_BIN\CLIENT_WD
%I_XCOPYF% ..\%I_VER%_BIN_OBFUSCATE\NEW\ITIMEUD.* ..\%I_VER%_BIN\SERVER_UD
%I_XCOPYF% ..\%I_VER%_BIN_OBFUSCATE\NEW\ITIMEWD.* ..\%I_VER%_BIN\SERVER_WD
:SKIP_OBFUSCATE3
REM --SELF-CONTAINED.--SELF-CONTAINED 僼傽僀儖嶌惉
IF NOT "%I_SET_ZIP_SW%"=="YES" ECHO 99_ALL_COMPILE > --SELF-CONTAINED.--SELF-CONTAINED
IF "%1"=="" PAUSE