root/other-projects/expeditee-release-kits/rke-setup.bat.in @ 29390

Revision 29232, 1.4 KB (checked in by ak19, 6 years ago)

Correction to syntax error, and checking locations set as env vars actually exist, error checking

Line 
1@echo off
2
3:: Example setup file for generating the installer
4::   => Copy this to setup.bat, and then edit values below to
5::      be meaninful for you own computer setup
6
7:: Probably need Visual Studio on your command line as well (need to check)
8
9
10echo.
11echo ****
12echo * Setting environment variables for the Expeditee Release Kit
13echo ****
14echo *
15echo *===
16
17
18:: Set Visual Studio environment here by calling vcvars. MS SDK not needed for Expeditee
19::call "C:\Program Files\Microsoft SDKs\Windows\v6.1\Bin\SetEnv.cmd"
20call "C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat"
21echo   Called vcvars 32 bit
22
23set JAVA_HOME=C:\Program Files\Java\jdk1.8.0
24if not exist "%JAVA_HOME%\" (
25    echo ***** JAVA_HOME %JAVA_HOME% does not exist. Set this in %0
26    exit /B 1
27)
28set PATH=%JAVA_HOME%\bin;%PATH%
29echo   Adding in JDK 1.8.1
30
31set ANT_HOME=C:\cygwin2013\home\davidb\research\packages\ant-1.9.2
32if not exist "%ANT_HOME%\" (
33    echo ***** ANT_HOME %ANT_HOME% does not exist. Set this in %0
34    exit /B 1
35)
36set PATH=%ANT_HOME%\bin;%PATH%
37echo   Adding in Ant 1.9
38
39set "SVN_HOME=C:\Program Files\SlikSvn"
40if not exist "%SVN_HOME%\" (
41    echo ***** Can't find SVN in %SVN_HOME%. Set SVN path in %0
42    exit /B 1
43)
44set PATH=%SVN_HOME%\bin;%PATH%
45echo   Adding in Slik SVN 1.8.5
46
47set PATH=%CD%\bin;%PATH%
48echo   Adding RKE scripts into PATH
49echo *===
50
51echo.
52echo ****
53echo * To compile, type:
54echo *
55echo *   rke compile
56echo ****
57
58:end
59
60
Note: See TracBrowser for help on using the browser.