@echo off echo ----------------------------------------------------------------- echo ----------------- Preparing Temporary directory ----------------- echo ----------------------------------------------------------------- pushd mkdir %DELIVERY%\studio\wizards\%1\%2\spec mkdir %DELIVERY%\studio\wizards\%1\%2\spec\%ISE_PLATFORM% if exist %TEMP%\%3 rd /Q /S %TEMP%\%3 mkdir %TEMP%\%3 echo ----------------------------------------------------------------- echo ----------------- Retrieving last sources ----------------------- echo ----------------------------------------------------------------- cdd %EIFFEL_SRC%\help\wizards call svn up echo ----------------------------------------------------------------- echo ----------------- Compilation ----------------------------------- echo ----------------------------------------------------------------- cdd %TEMP%\%3 copy %EIFFEL_SRC%\help\wizards\wizard.ico . copy %EIFFEL_SRC%\help\wizards\wizard.rc . %ISE_EIFFEL%\studio\spec\%ISE_PLATFORM%\bin\ecb -finalize -config %EIFFEL_SRC%\help\wizards\%3.ecf -project_path %TEMP%\%3 -c_compile ::DISABLE as upx cause troubles with antivirus ::echo ----------------------------------------------------------------- ::echo ------- Compress generated executable file ---------------------- ::echo ----------------------------------------------------------------- ::cdd %TEMP%\%3\EIFGENs\wizard\F_code ::iff not defined WIN64 then :: upx wizard.exe ::endiff echo ----------------------------------------------------------------- echo ------- Copying generated executable file into Delivery --------- echo ----------------------------------------------------------------- copy %TEMP%\%3\EIFGENs\wizard\F_code\wizard.exe %DELIVERY%\studio\wizards\%1\%2\spec\%ISE_PLATFORM% cd %TEMP% popd echo ----------------------------------------------------------------- echo ------- Deleting temporary files -------------------------------- echo ----------------------------------------------------------------- rd /Q /S %TEMP%\%3