Changeset 36831


Ignore:
Timestamp:
2022-10-18T09:43:47+13:00 (19 months ago)
Author:
kjdon
Message:

updated rke-setup for new greenstone windows build system

File:
1 edited

Legend:

Unmodified
Added
Removed
  • other-projects/expeditee-release-kits/trunk/rke-setup.bat.in

    r30399 r36831  
    11@echo off
    22
    3 :: Example setup file for generating the installer
    4 ::   => Copy this to setup.bat, and then edit values below to
     3:: Environment setup file for generating the expeditee installer
     4::   => Copy this to rke-setup.bat, and then edit values below to
    55::      be meaninful for you own computer setup
    66
     
    1717set os=windows
    1818set products_suffix=-%os%
    19 set uploads_suffix=-%products_suffix%
     19set uploads_suffix=%products_suffix%
    2020set out_suffix=-%os%
    21 :: identity_file is the public key file
    22 set identity_file=%currentdir%\tools\keys\upload-expeditee.ppk
     21:: identity_file is the ppk file
     22set identity_file=%CD%\keys\upload-expeditee-ed25519.ppk
    2323
    2424:: 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
     25set vslocation=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build
     26if not exist "%vslocation%" echo %vslocation% does not exist& goto end
     27pushd "%vslocation%"
     28:: host 64bit, target 32 bit
     29call vcvarsamd64_x86
     30:: call vcvars32 - if on old 32 bit machine
     31popd
    2832
    29 set JAVA_HOME=C:\Program Files\Java\jdk1.8.0
     33echo   Called vcvarsamd64_x86
     34
     35set JAVA_HOME=C:\Program Files\RedHat\java-1.8.0-openjdk-1.8.0.265-3
    3036if not exist "%JAVA_HOME%\" (
    3137    echo ***** JAVA_HOME %JAVA_HOME% does not exist. Set this in %0
     
    3339)
    3440set PATH=%JAVA_HOME%\bin;%PATH%
    35 echo   Adding in JDK 1.8.1
     41echo   Adding in JDK 1.8
    3642
    37 set ANT_HOME=C:\cygwin2013\home\davidb\research\packages\ant-1.9.2
     43set ANT_HOME=C:\greenstone\gs-release-builder\packages\apache-ant-1.9.5
    3844if not exist "%ANT_HOME%\" (
    3945    echo ***** ANT_HOME %ANT_HOME% does not exist. Set this in %0
     
    4349echo   Adding in Ant 1.9
    4450
    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
     51rem - do we need to setup svn here?? assume its already on path
     52rem set "SVN_HOME=C:\Program Files (x86)\Subversion"
     53rem if not exist "%SVN_HOME%\" (
     54rem echo ***** Can't find SVN in %SVN_HOME%. Set SVN path in %0
     55rem exit /B 1
     56rem )
     57rem set PATH=%SVN_HOME%\bin;%PATH%
     58rem echo   Adding in SVN
     59
     60set PATH=%CD%\shared\windows\utils;%PATH%
     61echo   Adding RKE shared\windows\utils into PATH
    5262
    5363set PATH=%CD%\bin;%PATH%
    5464echo   Adding RKE scripts into PATH
    5565echo *===
     66
     67echo PATH=%PATH%
    5668
    5769echo.
Note: See TracChangeset for help on using the changeset viewer.