Changeset 29232
- Timestamp:
- 2014-08-22T17:04:47+12:00 (10 years ago)
- Location:
- other-projects/expeditee-release-kits
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/expeditee-release-kits/create-expeditee.bat
r29230 r29232 1 1 @echo off 2 ::call "C:\Program Files\Microsoft SDKs\Windows\v6.1\Bin\SetEnv.cmd" 3 ::call "C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat" 2 setlocal 3 4 :: currentdir (C:\Research\Nightly) 5 set currentdir=%CD% 4 6 5 7 :: Need to edit rke-setup.bat and fill it in with local env vars values 6 if not exist C:\Research\Nightly\tools\expeditee-release-kits\rke-setup.bat (8 if not exist %currentdir%\tools\expeditee-release-kits\rke-setup.bat ( 7 9 echo. 8 10 echo ******************* 9 11 echo. 10 echo First edit C:\Research\Nightly\tools\expeditee-release-kits\rke-setup.bat.in11 echo to generate C:\Research\Nightly\tools\expeditee-release-kits\rke-setup.bat12 echo First edit %currentdir%\tools\expeditee-release-kits\rke-setup.bat.in 13 echo to generate %currentdir%\tools\expeditee-release-kits\rke-setup.bat 12 14 echo. 13 15 echo ******************* … … 18 20 :: rke-setup.bat uses local paths, so cd into expeditee-release-kits first 19 21 :: then call rke-setup.bat to source the environment vars it sets 20 pushd C:\Research\Nightly\tools\expeditee-release-kits22 pushd %currentdir%\tools\expeditee-release-kits 21 23 call rke-setup.bat 24 if ERRORLEVEL 1 ( 25 echo error level 1 or more 26 popd 27 exit /B 1 28 ) 22 29 popd 23 30 … … 25 32 :: Make sure the expeditee folder and its rke-build.properties file exist 26 33 :: Then run the 'rke' command from snapshots\expeditee 27 pushd C:\Research\Nightly\snapshots34 pushd %currentdir%\snapshots 28 35 ::http://www.robvanderwoude.com/battech_ifexistfolder.php 29 36 if not exist expeditee\ mkdir expeditee 30 37 if not exist expeditee\rke-build.properties copy C:\Research\Nightly\tools\expeditee-release-kits\rke-build.properties.in expeditee\rke-build.properties 31 cd expeditee38 pushd expeditee 32 39 rke 33 popd 40 :: It doesn't reach here for some reason 41 ::popd 42 ::cd %currentdir% 43 ::echo ************** HERE I AM 34 44 35 45 :end 46 endlocal -
other-projects/expeditee-release-kits/rke-setup.bat.in
r29230 r29232 1 1 @echo off 2 2 3 : Example setup file for generating the installer4 : => Copy this to setup.bat, and then edit values below to5 : be meaninful for you own computer setup3 :: 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 6 7 : Probably need Visual Studio on your command line as well (need to check)7 :: Probably need Visual Studio on your command line as well (need to check) 8 8 9 9 … … 16 16 17 17 18 :: Set VCVars bat file here 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" 19 20 call "C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat" 20 called vcvars 21 echo Called vcvars 32 bit 21 22 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 ) 23 28 set PATH=%JAVA_HOME%\bin;%PATH% 24 29 echo Adding in JDK 1.8.1 25 30 26 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 ) 27 36 set PATH=%ANT_HOME%\bin;%PATH% 28 37 echo Adding in Ant 1.9 29 38 30 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 ) 31 44 set PATH=%SVN_HOME%\bin;%PATH% 32 45 echo Adding in Slik SVN 1.8.5 … … 35 48 echo Adding RKE scripts into PATH 36 49 echo *=== 37 38 50 39 51 echo. … … 44 56 echo **** 45 57 58 :end 46 59 47 60 48
Note:
See TracChangeset
for help on using the changeset viewer.