Changeset 36831
- Timestamp:
- 2022-10-18T09:43:47+13:00 (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/expeditee-release-kits/trunk/rke-setup.bat.in
r30399 r36831 1 1 @echo off 2 2 3 :: E xample setup file for generating the installer4 :: => Copy this to setup.bat, and then edit values below to3 :: Environment setup file for generating the expeditee installer 4 :: => Copy this to rke-setup.bat, and then edit values below to 5 5 :: be meaninful for you own computer setup 6 6 … … 17 17 set os=windows 18 18 set products_suffix=-%os% 19 set uploads_suffix= -%products_suffix%19 set uploads_suffix=%products_suffix% 20 20 set out_suffix=-%os% 21 :: identity_file is the p ublic keyfile22 set identity_file=% currentdir%\tools\keys\upload-expeditee.ppk21 :: identity_file is the ppk file 22 set identity_file=%CD%\keys\upload-expeditee-ed25519.ppk 23 23 24 24 :: Set Visual Studio environment here by calling vcvars. MS SDK not needed for Expeditee 25 ::call "C:\Program Files\Microsoft SDKs\Windows\v6.1\Bin\SetEnv.cmd" 26 call "C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat" 27 echo Called vcvars 32 bit 25 set vslocation=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build 26 if not exist "%vslocation%" echo %vslocation% does not exist& goto end 27 pushd "%vslocation%" 28 :: host 64bit, target 32 bit 29 call vcvarsamd64_x86 30 :: call vcvars32 - if on old 32 bit machine 31 popd 28 32 29 set JAVA_HOME=C:\Program Files\Java\jdk1.8.0 33 echo Called vcvarsamd64_x86 34 35 set JAVA_HOME=C:\Program Files\RedHat\java-1.8.0-openjdk-1.8.0.265-3 30 36 if not exist "%JAVA_HOME%\" ( 31 37 echo ***** JAVA_HOME %JAVA_HOME% does not exist. Set this in %0 … … 33 39 ) 34 40 set PATH=%JAVA_HOME%\bin;%PATH% 35 echo Adding in JDK 1.8 .141 echo Adding in JDK 1.8 36 42 37 set ANT_HOME=C:\ cygwin2013\home\davidb\research\packages\ant-1.9.243 set ANT_HOME=C:\greenstone\gs-release-builder\packages\apache-ant-1.9.5 38 44 if not exist "%ANT_HOME%\" ( 39 45 echo ***** ANT_HOME %ANT_HOME% does not exist. Set this in %0 … … 43 49 echo Adding in Ant 1.9 44 50 45 set "SVN_HOME=C:\Program Files\SlikSvn" 46 if not exist "%SVN_HOME%\" ( 47 echo ***** Can't find SVN in %SVN_HOME%. Set SVN path in %0 48 exit /B 1 49 ) 50 set PATH=%SVN_HOME%\bin;%PATH% 51 echo Adding in Slik SVN 1.8.5 51 rem - do we need to setup svn here?? assume its already on path 52 rem set "SVN_HOME=C:\Program Files (x86)\Subversion" 53 rem if not exist "%SVN_HOME%\" ( 54 rem echo ***** Can't find SVN in %SVN_HOME%. Set SVN path in %0 55 rem exit /B 1 56 rem ) 57 rem set PATH=%SVN_HOME%\bin;%PATH% 58 rem echo Adding in SVN 59 60 set PATH=%CD%\shared\windows\utils;%PATH% 61 echo Adding RKE shared\windows\utils into PATH 52 62 53 63 set PATH=%CD%\bin;%PATH% 54 64 echo Adding RKE scripts into PATH 55 65 echo *=== 66 67 echo PATH=%PATH% 56 68 57 69 echo.
Note:
See TracChangeset
for help on using the changeset viewer.