Last change
on this file since 30098 was 29232, checked in by ak19, 10 years ago |
Correction to syntax error, and checking locations set as env vars actually exist, error checking
|
File size:
1.4 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 |
|
---|
10 | echo.
|
---|
11 | echo ****
|
---|
12 | echo * Setting environment variables for the Expeditee Release Kit
|
---|
13 | echo ****
|
---|
14 | echo *
|
---|
15 | echo *===
|
---|
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"
|
---|
20 | call "C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat"
|
---|
21 | echo Called vcvars 32 bit
|
---|
22 |
|
---|
23 | set JAVA_HOME=C:\Program Files\Java\jdk1.8.0
|
---|
24 | if not exist "%JAVA_HOME%\" (
|
---|
25 | echo ***** JAVA_HOME %JAVA_HOME% does not exist. Set this in %0
|
---|
26 | exit /B 1
|
---|
27 | )
|
---|
28 | set PATH=%JAVA_HOME%\bin;%PATH%
|
---|
29 | echo Adding in JDK 1.8.1
|
---|
30 |
|
---|
31 | set ANT_HOME=C:\cygwin2013\home\davidb\research\packages\ant-1.9.2
|
---|
32 | if not exist "%ANT_HOME%\" (
|
---|
33 | echo ***** ANT_HOME %ANT_HOME% does not exist. Set this in %0
|
---|
34 | exit /B 1
|
---|
35 | )
|
---|
36 | set PATH=%ANT_HOME%\bin;%PATH%
|
---|
37 | echo Adding in Ant 1.9
|
---|
38 |
|
---|
39 | set "SVN_HOME=C:\Program Files\SlikSvn"
|
---|
40 | if not exist "%SVN_HOME%\" (
|
---|
41 | echo ***** Can't find SVN in %SVN_HOME%. Set SVN path in %0
|
---|
42 | exit /B 1
|
---|
43 | )
|
---|
44 | set PATH=%SVN_HOME%\bin;%PATH%
|
---|
45 | echo Adding in Slik SVN 1.8.5
|
---|
46 |
|
---|
47 | set PATH=%CD%\bin;%PATH%
|
---|
48 | echo Adding RKE scripts into PATH
|
---|
49 | echo *===
|
---|
50 |
|
---|
51 | echo.
|
---|
52 | echo ****
|
---|
53 | echo * To compile, type:
|
---|
54 | echo *
|
---|
55 | echo * rke compile
|
---|
56 | echo ****
|
---|
57 |
|
---|
58 | :end
|
---|
59 |
|
---|
60 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.