@echo off :: Environment setup file for generating the expeditee installer :: => Copy this to rke-setup.bat, and then edit values below to :: be meaninful for you own computer setup :: Probably need Visual Studio on your command line as well (need to check) echo. echo **** echo * Setting environment variables for the Expeditee Release Kit echo **** echo * echo *=== set os=windows set products_suffix=-%os% set uploads_suffix=%products_suffix% set out_suffix=-%os% :: identity_file is the ppk file set identity_file=%CD%\keys\upload-expeditee-ed25519.ppk :: Set Visual Studio environment here by calling vcvars. MS SDK not needed for Expeditee set vslocation=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build if not exist "%vslocation%" echo %vslocation% does not exist& goto end pushd "%vslocation%" :: host 64bit, target 32 bit call vcvarsamd64_x86 :: call vcvars32 - if on old 32 bit machine popd echo Called vcvarsamd64_x86 set JAVA_HOME=C:\Program Files\RedHat\java-1.8.0-openjdk-1.8.0.265-3 if not exist "%JAVA_HOME%\" ( echo ***** JAVA_HOME %JAVA_HOME% does not exist. Set this in %0 exit /B 1 ) set PATH=%JAVA_HOME%\bin;%PATH% echo Adding in JDK 1.8 set ANT_HOME=C:\greenstone\gs-release-builder\packages\apache-ant-1.9.5 if not exist "%ANT_HOME%\" ( echo ***** ANT_HOME %ANT_HOME% does not exist. Set this in %0 exit /B 1 ) set PATH=%ANT_HOME%\bin;%PATH% echo Adding in Ant 1.9 rem - do we need to setup svn here?? assume its already on path rem set "SVN_HOME=C:\Program Files (x86)\Subversion" rem if not exist "%SVN_HOME%\" ( rem echo ***** Can't find SVN in %SVN_HOME%. Set SVN path in %0 rem exit /B 1 rem ) rem set PATH=%SVN_HOME%\bin;%PATH% rem echo Adding in SVN set PATH=%CD%\shared\windows\utils;%PATH% echo Adding RKE shared\windows\utils into PATH set PATH=%CD%\bin;%PATH% echo Adding RKE scripts into PATH echo *=== echo PATH=%PATH% echo. echo **** echo * To compile, type: echo * echo * rke compile echo **** :end