Last change
on this file since 36806 was 36806, checked in by anupama, 19 months ago |
- 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
|
---|
4 | set JAVA_HOME=C:\Program Files\Java\jdk1.8.0_191
|
---|
5 |
|
---|
6 |
|
---|
7 | if not exist "%JAVA_HOME%" (
|
---|
8 | echo %JAVA_HOME% not found. Exiting...
|
---|
9 | goto done
|
---|
10 | )
|
---|
11 | set PATH=%JAVA_HOME%\bin;%PATH%
|
---|
12 | echo + 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
|
---|
17 | set _PERL_TOPLEVEL=C:\Users\GameJam\strawberry-perl32no64
|
---|
18 | set PERL_HOME=%_PERL_TOPLEVEL%\perl
|
---|
19 |
|
---|
20 | if not exist "%PERL_HOME%" (
|
---|
21 | echo %PERL_HOME% not found. Exiting...
|
---|
22 | goto done
|
---|
23 | )
|
---|
24 | echo + Set PERL_HOME to local instance and updated PATH
|
---|
25 |
|
---|
26 | set ANT_HOME=C:\Users\GameJam\apache-ant-1.9.5
|
---|
27 |
|
---|
28 | if not exist "%ANT_HOME%" (
|
---|
29 | echo %ANT_HOME% not found. Exiting...
|
---|
30 | goto done
|
---|
31 | )
|
---|
32 | set PATH=%PERL_HOME%\site\bin;%PERL_HOME%\bin;%_PERL_TOPLEVEL%\c\bin;%ANT_HOME%\bin;%PATH%
|
---|
33 | echo + Set ANT_HOME to local instance and updated PATH
|
---|
34 |
|
---|
35 | :: Unset local variable(s)
|
---|
36 | set _PERL_TOPLEVEL=
|
---|
37 |
|
---|
38 |
|
---|
39 |
|
---|
40 |
|
---|
41 | :done
|
---|
Note:
See
TracBrowser
for help on using the repository browser.