source: other-projects/expeditee-release-kits/rke-setup.bat.in@ 30424

Last change on this file since 30424 was 30399, checked in by ak19, 8 years ago

Minor changes to mirror the way the expeditee nightly generation scripts on linux name files.

File size: 1.6 KB
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
17set os=windows
18set products_suffix=-%os%
19set uploads_suffix=-%products_suffix%
20set out_suffix=-%os%
21:: identity_file is the public key file
22set identity_file=%currentdir%\tools\keys\upload-expeditee.ppk
23
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"
26call "C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat"
27echo Called vcvars 32 bit
28
29set JAVA_HOME=C:\Program Files\Java\jdk1.8.0
30if not exist "%JAVA_HOME%\" (
31 echo ***** JAVA_HOME %JAVA_HOME% does not exist. Set this in %0
32 exit /B 1
33)
34set PATH=%JAVA_HOME%\bin;%PATH%
35echo Adding in JDK 1.8.1
36
37set ANT_HOME=C:\cygwin2013\home\davidb\research\packages\ant-1.9.2
38if not exist "%ANT_HOME%\" (
39 echo ***** ANT_HOME %ANT_HOME% does not exist. Set this in %0
40 exit /B 1
41)
42set PATH=%ANT_HOME%\bin;%PATH%
43echo Adding in Ant 1.9
44
45set "SVN_HOME=C:\Program Files\SlikSvn"
46if not exist "%SVN_HOME%\" (
47 echo ***** Can't find SVN in %SVN_HOME%. Set SVN path in %0
48 exit /B 1
49)
50set PATH=%SVN_HOME%\bin;%PATH%
51echo Adding in Slik SVN 1.8.5
52
53set PATH=%CD%\bin;%PATH%
54echo Adding RKE scripts into PATH
55echo *===
56
57echo.
58echo ****
59echo * To compile, type:
60echo *
61echo * rke compile
62echo ****
63
64:end
65
66
Note: See TracBrowser for help on using the repository browser.