Last change
on this file since 30007 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
|
Rev | Line | |
---|
[28826] | 1 | @echo off
|
---|
| 2 |
|
---|
[29232] | 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
|
---|
[28826] | 6 |
|
---|
[29232] | 7 | :: Probably need Visual Studio on your command line as well (need to check)
|
---|
[28826] | 8 |
|
---|
| 9 |
|
---|
| 10 | echo.
|
---|
| 11 | echo ****
|
---|
| 12 | echo * Setting environment variables for the Expeditee Release Kit
|
---|
| 13 | echo ****
|
---|
| 14 | echo *
|
---|
| 15 | echo *===
|
---|
| 16 |
|
---|
[29230] | 17 |
|
---|
[29232] | 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"
|
---|
[29230] | 20 | call "C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat"
|
---|
[29232] | 21 | echo Called vcvars 32 bit
|
---|
[29230] | 22 |
|
---|
[28826] | 23 | set JAVA_HOME=C:\Program Files\Java\jdk1.8.0
|
---|
[29232] | 24 | if not exist "%JAVA_HOME%\" (
|
---|
| 25 | echo ***** JAVA_HOME %JAVA_HOME% does not exist. Set this in %0
|
---|
| 26 | exit /B 1
|
---|
| 27 | )
|
---|
[28826] | 28 | set PATH=%JAVA_HOME%\bin;%PATH%
|
---|
| 29 | echo Adding in JDK 1.8.1
|
---|
| 30 |
|
---|
[28827] | 31 | set ANT_HOME=C:\cygwin2013\home\davidb\research\packages\ant-1.9.2
|
---|
[29232] | 32 | if not exist "%ANT_HOME%\" (
|
---|
| 33 | echo ***** ANT_HOME %ANT_HOME% does not exist. Set this in %0
|
---|
| 34 | exit /B 1
|
---|
| 35 | )
|
---|
[28826] | 36 | set PATH=%ANT_HOME%\bin;%PATH%
|
---|
[28827] | 37 | echo Adding in Ant 1.9
|
---|
[28826] | 38 |
|
---|
| 39 | set "SVN_HOME=C:\Program Files\SlikSvn"
|
---|
[29232] | 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 | )
|
---|
[28826] | 44 | set PATH=%SVN_HOME%\bin;%PATH%
|
---|
[29230] | 45 | echo Adding in Slik SVN 1.8.5
|
---|
[28826] | 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 |
|
---|
[29232] | 58 | :end
|
---|
[28826] | 59 |
|
---|
| 60 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.