source: other-projects/nightly-tasks/diffcol/trunk/setenv-custom-ifWithoutEnvi.bat@ 36806

Last change on this file since 36806 was 36806, checked in by anupama, 19 months ago
  1. Committing an environment.pl that could possibly work for windows. But I used 2. runtime setenv and compiletime setenv files when you don't have envi (when diffcol is not set up as an envi task, and you've merely checked out diffcol to test and debug the diffcolling behaviour as I have been doing).
File size: 1.5 KB
Line 
1@echo off
2
3:: this script which follows the local folder but with custom filepaths,
4:: mimics the env vars set up by the 2 environment.pl files in envi and inside the diffcol envi task
5
6pushd "C:\Program Files (x86)\Microsoft Visual Studio 14.0"
7call "VC\bin\amd64\vcvars64.bat"
8popd
9
10echo Environment for Visual Studio 64-bit Compiler setup
11
12@echo off
13
14::set JAVA_HOME=C:\Program Files\Java\jdk1.8.0_20
15set JAVA_HOME=C:\Program Files\Java\jdk1.8.0_191
16
17
18if not exist "%JAVA_HOME%" (
19 echo %JAVA_HOME% not found. Exiting...
20 goto done
21)
22set PATH=%JAVA_HOME%\bin;%PATH%
23echo + Set JAVA_HOME to local instance and updated PATH
24
25
26::set PERL_HOME=C:\strawberry-perl-64bit\perl
27:: only set to strawberry-perl5-64bit for regular GS3 from SVN, not release kits nor even diffcol
28set _PERL_TOPLEVEL=C:\Users\GameJam\strawberry-perl32no64
29set PERL_HOME=%_PERL_TOPLEVEL%\perl
30
31if not exist "%PERL_HOME%" (
32 echo %PERL_HOME% not found. Exiting...
33 goto done
34)
35echo + Set PERL_HOME to local instance and updated PATH
36
37set ANT_HOME=C:\Users\GameJam\apache-ant-1.9.5
38
39if not exist "%ANT_HOME%" (
40 echo %ANT_HOME% not found. Exiting...
41 goto done
42)
43set PATH=%PERL_HOME%\site\bin;%PERL_HOME%\bin;%_PERL_TOPLEVEL%\c\bin;%ANT_HOME%\bin;%PATH%
44::echo + Set ANT_HOME to local instance and updated PATH
45set PATH=C:\Users\GameJam\diffcol\WINBIN;%PATH%
46echo + Set ANT_HOME to local instance and updated PATH (including a cut-down winbin with GS's wget, rc file and unzip)
47
48:: Unset local variable(s)
49set _PERL_TOPLEVEL=
50
51:done
Note: See TracBrowser for help on using the repository browser.