source: other-projects/nightly-tasks/diffcol/trunk/runtime-setenv-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.0 KB
Line 
1@echo off
2
3::set JAVA_HOME=C:\Program Files\Java\jdk1.8.0_20
4set JAVA_HOME=C:\Program Files\Java\jdk1.8.0_191
5
6
7if not exist "%JAVA_HOME%" (
8 echo %JAVA_HOME% not found. Exiting...
9 goto done
10)
11set PATH=%JAVA_HOME%\bin;%PATH%
12echo + Set JAVA_HOME to local instance and updated PATH
13
14
15::set PERL_HOME=C:\strawberry-perl-64bit\perl
16:: only set to strawberry-perl5-64bit for regular GS3 from SVN, not release kits nor even diffcol
17set _PERL_TOPLEVEL=C:\Users\GameJam\strawberry-perl32no64
18set PERL_HOME=%_PERL_TOPLEVEL%\perl
19
20if not exist "%PERL_HOME%" (
21 echo %PERL_HOME% not found. Exiting...
22 goto done
23)
24echo + Set PERL_HOME to local instance and updated PATH
25
26set ANT_HOME=C:\Users\GameJam\apache-ant-1.9.5
27
28if not exist "%ANT_HOME%" (
29 echo %ANT_HOME% not found. Exiting...
30 goto done
31)
32set PATH=%PERL_HOME%\site\bin;%PERL_HOME%\bin;%_PERL_TOPLEVEL%\c\bin;%ANT_HOME%\bin;%PATH%
33echo + Set ANT_HOME to local instance and updated PATH
34
35:: Unset local variable(s)
36set _PERL_TOPLEVEL=
37
38
39
40
41:done
Note: See TracBrowser for help on using the repository browser.