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 |
|
---|
10 | echo.
|
---|
11 | echo ****
|
---|
12 | echo * Setting environment variables for the Expeditee Release Kit
|
---|
13 | echo ****
|
---|
14 | echo *
|
---|
15 | echo *===
|
---|
16 |
|
---|
17 | set os=windows
|
---|
18 | set products_suffix=-%os%
|
---|
19 | set uploads_suffix=-%products_suffix%
|
---|
20 | set out_suffix=-%os%
|
---|
21 | :: identity_file is the public key file
|
---|
22 | set 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"
|
---|
26 | call "C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat"
|
---|
27 | echo Called vcvars 32 bit
|
---|
28 |
|
---|
29 | set JAVA_HOME=C:\Program Files\Java\jdk1.8.0
|
---|
30 | if not exist "%JAVA_HOME%\" (
|
---|
31 | echo ***** JAVA_HOME %JAVA_HOME% does not exist. Set this in %0
|
---|
32 | exit /B 1
|
---|
33 | )
|
---|
34 | set PATH=%JAVA_HOME%\bin;%PATH%
|
---|
35 | echo Adding in JDK 1.8.1
|
---|
36 |
|
---|
37 | set ANT_HOME=C:\cygwin2013\home\davidb\research\packages\ant-1.9.2
|
---|
38 | if not exist "%ANT_HOME%\" (
|
---|
39 | echo ***** ANT_HOME %ANT_HOME% does not exist. Set this in %0
|
---|
40 | exit /B 1
|
---|
41 | )
|
---|
42 | set PATH=%ANT_HOME%\bin;%PATH%
|
---|
43 | echo Adding in Ant 1.9
|
---|
44 |
|
---|
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
|
---|
52 |
|
---|
53 | set PATH=%CD%\bin;%PATH%
|
---|
54 | echo Adding RKE scripts into PATH
|
---|
55 | echo *===
|
---|
56 |
|
---|
57 | echo.
|
---|
58 | echo ****
|
---|
59 | echo * To compile, type:
|
---|
60 | echo *
|
---|
61 | echo * rke compile
|
---|
62 | echo ****
|
---|
63 |
|
---|
64 | :end
|
---|
65 |
|
---|
66 |
|
---|